Hi, I need some help trying to figure out what this question is asking for. (My question is below the image)

I'm not quite sure about what question 2a asks for and how to complete it. Do I create 4 equations, q' = g', q' = h', q'' = g'' and q'' = h''?