It is given in this question that angle 1 and angle 2 are linear pair .
LInear pair are those angles , whose sum is 180 degree.
That is sum of measurements of angle 1 and angle 2 must be 180 degree. That is

Combining like terms

Subtracting 46 from both sides

Dividing both sides by 2

So the two angles are
