Both shapes quadrilaterals, so their angles add up to 360°.
You can ask a new question or answer this question.