Answer :
To get the answer we can prepare equation. Lets assume x its drink.
Finally we get the equation
3x+x+0.01=2.65
4x+0.01=2.65 /-0.01
4x=2.64 /:4
x=0.66 - cost of drink
3x+1 ---- 3*0.66+0.01=1.99 - cost of pizza
Finally we get the equation
3x+x+0.01=2.65
4x+0.01=2.65 /-0.01
4x=2.64 /:4
x=0.66 - cost of drink
3x+1 ---- 3*0.66+0.01=1.99 - cost of pizza