Using the expression for Gary’s marks: \(88 - q\).

Substitute \(q = 12\):
• Gary’s marks = \(88 - 12\)
• = \(76\)

Final Answer: 76