A room is 6 metres long, 6 metres wide and 7 metres high, as in the figure. A cable runs along the red line from the corner O on the floor to the opposite corner P on the ceiling. What are the length of the cable and the cosine of the angle it makes with the vertical edge from O?