Answer:
x= 9
y= 4
Step-by-step explanation:
The blue triangle is double the size of green so
2+2=4
18/2=9