Final answer:
The distance between the lawyer's home and her office is approximately 25.20 miles.
Step-by-step explanation:
To find the distance between the lawyer's home and her office, we can use the Pythagorean theorem. The lawyer travels 2 miles east and 3 miles north from her home to the courthouse, so we have a right triangle with legs of length 2 and 3. The length of the hypotenuse, which represents the distance between her home and the courthouse, can be found using the Pythagorean theorem: c^2 = a^2 + b^2.
c^2 = 2^2 + 3^2 = 4 + 9 = 13
c = sqrt(13) ≈ 3.61
The lawyer then drives 5 miles west and 21 miles south from the courthouse to her office, forming another right triangle with legs of length 5 and 21. The length of the hypotenuse, which represents the distance between the courthouse and her office, can be found using the same process: c^2 = 5^2 + 21^2.
c^2 = 25 + 441 = 466
c = sqrt(466) ≈ 21.59
To find the distance between her home and her office, we need to add the lengths of the two hypotenuses: 3.61 + 21.59 ≈ 25.20 miles.