First of all, linear pair angles are those which sum 180° in total. However, the problem states that these angles have equal measures, so each of them must be equal to 90°
Let's solve each equation.
The second result would be
Therefore, x is equal to 18 and y is equal to 15.