Please solve this equation for y and x. Thanks.

Y^3 = 2x + 4

Y = cube root of (2x + 4)

x = (Y^3)/2 -2