Step-by-step explanation
a linear pair of angles must add up to 180 degrees,
Step 1
Let
x= angle1
y= angle2
then

Also
One angle is a fifth the size of the other angle, then

Step 2
replace the value of x from equation(1) in equation(2)

Step 3
replace the value of y=150 in equation (2) to find x

Hence, the answer is 30 and 150