How do you know if alternate interior angles and alternate exterior angles have the same measure?

Plz be specific..Will give BRAINLIEST!!!!!!!