Explanation:
x = mass of one metal ball
y = mass of the create
y = 2x (twice as heavy)
5x + y = 42 (5 balls and the crate weigh 42 kg)
we are using the first equation in the second :
5x + 2x = 42
7x = 42
x = 42/7 = 6 kg
the mass of a metal ball is 6 kg.