Solution using Pythagorean Relation
Return