The values of x and y in the figure are solved to get
x = 22.5
y = 15
How to find the values
The values are solved with the knowledge of same side interior angles theorem
This help us to arrive at the equation
7x + 5x = 180
12x = 180
x = 180/12
x = 15
Similarly,
4y + 90 = 180
4y = 90
y = 90/4
y = 22.5