You'll have to c<span>ompass tip on A and draw a small ark with pencil approximately in the middle above AB line, now compass tip to point B and cross the ark you made previously.
Do the same on the opposite side without making any change to the compass
Join the lines where crosses of arks on the both side meet and then ,it's done.</span>
The two angles are a linear pair.
(Explanations down below!)
Linear pair angles must add up to 180 degrees. You can tell that the two angles add up to 180 degrees because they form a straight line (which is 180 degrees).
Complementary angles add up to 90 degrees. The two angles are not complementary because they do not form a 90 degree angle (right triangle, square in corner, like a L shape).
Vertical angles are opposite each other and are equal to one another. These angles are adjacent to each other and do not look similar.