Dear student,
The linear pair angles form a line, i.e, the sum of the angles will be 180°.
(A line has an angle of 180°).
Given the angles are in ratio 4:5.
Let's take the angles to be 4x and 5x.(note that the ratio will be 4x:5x=4/5=4:5 same).
Then 4x+5x=180°
=9x=180°
=x = 180/9
= x = 20°
Therefore the angles are 4x=4×20=80°
and 5x=5×20=100°
Thank you