Let B be the amount of panels that plant B produced.
The total amount of defective panels from plant A is:

The total amount of defective panels from plant B is:

The total amount of panels produced by plants A and B is:

Since 5% of the total of panels is defective, the total amount of defective panels is:

On the other hand, the total amount of defective panels is the sum of the defective panels from plants A and B:

Since these two expressions correspond to the total amount of defective panels, then:

Solve for B:

Therefore, the total amount of panels that plant B produced, is:
