https://numbas.mathcentre.ac.uk/question/29115/math6058-solve-for-x-and-y-on-a-right-angled-triangle/embed/