There are 360° in a complete turn.
There are 180° in half a turn (a straight line).
Find the size of angle z:
What is the size of angle p?
The angles in a triangle add up to 180°
The angles in a quadrilateral add up to 360°.
This works for any quadrilateral. Again, you can try this for yourself with a piece of paper!