Answer
2 + 3x
The variable in the above expression is x. It represents the number of homework questions Calvin completed.
Explanation
Let x be the number of homework questions Calvin completed.
Then, 3 times the number of homework questions Calvin completed is equivalent to: 3x
And, 2 more than 3 times the number of homework questions Calvin completed is equivalent to: 2 + 3x. This last expression represents the number of homework questions Joe has completed