assume that y varies directly with x, then solve if y=12 when x=15, find x when y=21

and can someone explain to me how they got the answer because i got 16.8