Let x represent number of massages and y represent number of pedicure + 90-minute massage packages.
We have been given that a spa charges $125 for a one hour massage, so amount earned from x massages would be
.
The spa charges $250 for a pedicure + 90-minute massage package, so amount earned from y pedicure + 90-minute massages will be
.
We have been given that one day the spa had 27 customers. We can represent this information in an equation as:
![x+y=27...(1)](https://img.qammunity.org/2021/formulas/mathematics/middle-school/pm6z49b06jeil9r98t0z3o7vyv0hedq7mw.png)
![y=27-x...(1)](https://img.qammunity.org/2021/formulas/mathematics/middle-school/bfdy4zf4u86r31bjaagdd81rii7vakodgs.png)
Since spa made $5,250, so amount earned from both massages would be equal to 5,250. We can represent this information in an equation as:
![125x+250y=5250...(2)](https://img.qammunity.org/2021/formulas/mathematics/middle-school/p5g0abkwlmwse3jz1drwkh4zkhfd7mmkxi.png)
Upon substituting equation (1) in equation (2), we will get:
![125x+250(27-x)=5250](https://img.qammunity.org/2021/formulas/mathematics/middle-school/kg603csq0fvdxdg95kw8541mla5dzb7tbt.png)
Let us solve for x.
![125x+6750-250x=5250](https://img.qammunity.org/2021/formulas/mathematics/middle-school/kmiqehe2qhctwbwkeq5oy4dd5loozpagbv.png)
![-125x+6750=5250](https://img.qammunity.org/2021/formulas/mathematics/middle-school/ez1pt4psoou2f7ln94n0ozfgwcbqw886xg.png)
![-125x+6750-6750=5250-6750](https://img.qammunity.org/2021/formulas/mathematics/middle-school/4nbc5pui7pqf774aaunuybs6iict8bn843.png)
![-125x=-1500](https://img.qammunity.org/2021/formulas/mathematics/middle-school/xyx2sw8ml8y0suy3ry9qlxajjuiwrr86zd.png)
![(-125x)/(-125)=(-1500)/(-125)](https://img.qammunity.org/2021/formulas/mathematics/middle-school/qnihk2k9vkzvkkoqfghnsa8od7valj3ctn.png)
![x=12](https://img.qammunity.org/2021/formulas/mathematics/middle-school/kzh72we7ptn8hlgavxhsl5e208kjtiramm.png)
Upon substituting
in equation (1), we will get:
![y=27-12=15](https://img.qammunity.org/2021/formulas/mathematics/middle-school/ie9ysg8ebeyc72jpd56an1br6bmehpmm27.png)
Therefore, the spa performed 12 one hour massages and 15 pedicure + 90-minute massage packages that is
.