Solution:
Concept: Comparing each point with its image shows which sign has changed. Reflection in the y-axis (the line x=0) keeps the y-co-ordinate and changes the sign of the x-co-ordinate: (x,y)→(−x,y).
Step 1 — Part (a): compare the first pair.
From (−5, 0) to (5, 0) the y-co-ordinate is the same and the sign of the x-co-ordinate has changed.
Step 2 — Part (a): compare the second pair.
From (−2, −6) to (2, −6) again the y-co-ordinate is the same and the sign of the x-co-ordinate has changed. Both pairs follow the rule (x,y)→(−x,y), so the line of reflection is the y-axis (the line x=0).
Check: The mid-point of (−5, 0) and (5, 0) is (0, 0), and the mid-point of (−2, −6) and (2, −6) is (0, −6). Both lie on the y-axis, as they must for the mirror line.
Step 3 — Part (b): reflect (5, −8) in the y-axis.
We keep the y-co-ordinate −8 and change the sign of 5.
(5,−8)→(−5,−8)

Watch out: The first pair alone, (−5, 0) and (5, 0), would also fit reflection in the origin; the second pair shows that only the x-co-ordinate changes sign.
Therefore, (a) the line of reflection is the y-axis (x=0); (b) the image of (5, −8) is (−5, −8).