I don't think its possible to do this... you have to have 2 equations
The student mixed the letters. If you swicth the order of the letters then the equation would be true. y=4x. So if you plug in all the numbers into the equation you get the correct value for why. For example 4×2=8, 4×4=16, and so on.