We know that Gary's age is 11 years old. So, we just have to use an expression to indicate someone's age.
Let's consider the expression:
This expression represents Mr. Smith's age who is 27 years old. Let's prove it using Gary's age.
Therefore, our expression is 2g + 5.