Answer:
The value of x is 4 and the value of y is 9
Explanation:
In the attached pictures we can see that two lines are intersecting with each other and four angles are form. The angles opposite to each other are also called vertical angles.
The opposite pairs of angles are:
(10x-4)° and 6(x+2)°
(18y-18)° and 16y°
When two lines intersect each other, the vertical angles formed are congruent(Can also be called equal in measurement)
So,

Subtracting 6x from both sides

Adding 4 on both sides

Dividing both sides by 4

AND

Adding 18 on both sides

Subtracting 16y from both sides

Dividing both sides by 2

Hence,
The value of x is 4 and the value of y is 9