You can use the sliders to determine the production of A and B without specialization. Without specialization, the total production of A and B is not efficient, that is, the total production of A and B is not on the joint production possibilities frontier of A and B.
In the case of specialization A can produce
=20 units of X. B can produce
=40 units of Y in the case of specialization. It depends on the ratio
whether A or B should specialize. If
, A must specialize in the production of X. If
, B must specialize in the production of Y, where
denotes the units of X and
denotes the units of Y produced by A and B together.