Hello, Amber,
We can translate "y varies directly with the square of x" to:
y =Ax2
I added the "A" since we don't know if there is another factor involved. To find A we can use the data provided (5,50).
50 = A*52
A = 2
The equation is y = 2*x2
Use x = 4, and we find that y = 2*42
y= 2*16
y = 32