Solving problems involving angles and rates