On a chessboard the lines cross each other at right angles. Look at the point X inside the board, where 4 squares meet, and the point Y on the edge of the board, where 2 squares meet.

(i) At X, four rays start along the lines of the board. Using two of these rays as arms each time, how many right angles and how many straight angles are formed?
(ii) At Y, only three rays start along the lines of the board. How many right angles and how many straight angles are formed there?
