We have two right triangles, in order to find the missing sides we will use the Pythagorean Theorem
For the little one we have
c=20
a=16
b=x
we substitute the values
we isolate the x
Then for the bigger triangle
c=y
a=18
b=12
we substitute the variables
we isolate the y
As we can see the correct choice is A. x=12 and y=21.6