Answer:
Pizza = $4
Cakes = $10
Explanation:
You need to create 2 equations from the information to find the 2 missing variables.
P=pizza
C=cake
5P+10C=120
5P+5C=70
Next subtract the equations
5C=50
Solver for C
C=10
Next input C into one of the equations and solve for P
5P+5(10)=70
5P+50=70
5P=20
P=4