I think x=42 because 48/x=8/7 you cross multiply meaning you do 48*7=336, then 8*x. So it would be 8x=336.
8x/8=336/8 so x=42.