Word Problems Involving Right Triangles