Answer:
x = 19 and
y = 3
Step-by-step explanation:
40 + 8sqrt(x) - 5sqrt(x) - (sqrt x)^2 = y(sqrt x) + 21
40 + 3sqrt(x) - x = y (sqrt x) + 21
3sqrt(x) = y (sqrt x)
40 - x = 21
40 - 21 = x
x = 10