Question 802970
very simple

let the unit price of small and large pies be S and L respectively such that

1st order which was - 40S + 40L = $154
2nd order which was - 50S + 30L = $144.50

we want to know what the unit price is for small and large pies, to do this
solve simultaneously 

40S + 40L = 154
50S + 30L = 144.50

using either equation, express S in terms of L for example

50S = 144.5 - 30L
  S = 2.89 - 3/5L

use the equation for S in the first equation 

40 (2.89 - 3/5L) + 40L = 154
simplify
16 L = 38.4
   L = 2.4

plug the value of L into the previous equation for S

S = 2.89 - 3/5(2.4)
S = 1.45

prove it by using your answers in the original question

40(1.45) + 40(2.4) should be equal to 154