the complete question in the attached figure
we know that
angle y and angle (5y-18) are supplementary angles
then
y°+(5y-18)°=180°------> 6y=180+18------> y=198/6-----> y=33°
and
angle x and angle y are also supplementary angles
then
x+y=180--------> x=180-y-----> x=180-33-----> x=147°
the answer is
x=147°
y=33°