Let's represent the cherry pies and apple pies with variables

The equation of julio's sales will be

The equation of Jisel's sales will be

Let's combine Equations (1 )and (2 )and solve them simultaneously

Subtract Eqn (2) from Eqn (1) we will have

Substitute y= $18 in Eqn 1 we will have

Therefore,
The equation for Julio's sales is 3x+14y= $300
The equation for Jisel's sales is 3x+9y= $210
The cost of one cherry pie is x= $16
The cost of one apple pie is y= $18