The cost of the four pizzas is 4 x $10 = $<<4*10=40>>40.
The total cost, including the tip, is $40 + $5= $<<40+5=45>>45.
Therefore, Gemma gets a change of $50 - $45 = $<<50-45=5>>5.
#### 5