A 12-foot ladder is placed against a wall with a 45-degree angle between the ladder and the ground. Using two different
methods, determine how far away the ladder is from the wall.