applies Pythagoras' theorem to calculate side lengths in right-angled triangles, and solves related problems