Given is Plan A gives 3 nights lodging and 5 boat rides for a total cost of $625.
and Plan B gives 5 nights lodging and 6 boat rides for a total of $960.
Let x be the cost of night lodging and y be the cost of the boat ride.
The given can be written as follows.
![3x+5y=625](https://img.qammunity.org/2023/formulas/mathematics/college/ke1joo1qo6n415eknvzz1xdgr6w48ey67e.png)
![5x+6y=960](https://img.qammunity.org/2023/formulas/mathematics/college/roxljn9m60cw3fgcm8sgyk32i5wdbg2lzc.png)
Multiply equation 3x+5y=625 by 5 as follows.
![5*3x+5*5y=5*625](https://img.qammunity.org/2023/formulas/mathematics/college/6q2rtftr9h5ibljxf4ytxhjk81nnqm4cz1.png)
![15x+25y=3125\text{ take it as equation (1).}](https://img.qammunity.org/2023/formulas/mathematics/college/kzbwqxj7rfe1fcyxhumf1s9nyme0gmecv2.png)
Multiply equation 5x+6y=960 by 3 as follows.
![3*5x+3*6y=3*960](https://img.qammunity.org/2023/formulas/mathematics/college/s4hl3ubzfaynu4g1iglpz3hqxjk7rjhigq.png)
![15x+18y=2880\text{ take this as equation (2).}](https://img.qammunity.org/2023/formulas/mathematics/college/7aiqifsar5xoki2zdtahtjpot4weprkbiz.png)
Substract equation (2) from equation (1) to compute the value of y.
![(15x+25y)-(15x+18y)=3125-2880](https://img.qammunity.org/2023/formulas/mathematics/college/ej90k3l6gn9gu228xms2x3oiznm1lyjc9e.png)
![15x+25y-15x-18y=3125-2880](https://img.qammunity.org/2023/formulas/mathematics/college/pdfv67z1npreohkkfg0clojz3b5j1jc1ex.png)
Solve like terms.
![7y=245](https://img.qammunity.org/2023/formulas/mathematics/college/n85qkmsynh1xqz4g6b5xj2mkwl2cyd1g9r.png)
Dividing by 7 into both sides, we get
![(7y)/(7)=(245)/(7)](https://img.qammunity.org/2023/formulas/mathematics/college/bfmfdqkh8cuufwm2pncfneted582jtrcgx.png)
![y=35](https://img.qammunity.org/2023/formulas/mathematics/college/la6enyupfy5k55brwpoamf1d2y1eh3k364.png)
Hence we get the cost of the boat ride is $35.
Substitute y=35 in 3x+5y=625 to compute the value of y.
![3x+5(35)=625](https://img.qammunity.org/2023/formulas/mathematics/college/o9jdj88htmkr7fmchw0u8vmmqzaaqi0so6.png)
![3x+175=625](https://img.qammunity.org/2023/formulas/mathematics/college/d5m7qmedbu6osut40jofhuo6oegcv1q2wf.png)
Adding -175 on both sides, we get
![3x+175-175=625-175](https://img.qammunity.org/2023/formulas/mathematics/college/h6wyrm7teq1lq1a3e5f17st5dit2ekv1wt.png)
Solve like terms.
![3x=450](https://img.qammunity.org/2023/formulas/mathematics/college/jssxcogflyhgy9l81wldjc03shy0705ggx.png)
Dividing by 3 into both sides, we get
![(3x)/(3)=(450)/(3)](https://img.qammunity.org/2023/formulas/mathematics/college/p7qoxk00y5yh3jqqgr9617xukgv9yycj1m.png)
![x=150](https://img.qammunity.org/2023/formulas/mathematics/college/h77sb4z490hcg6gqa4vixrsobdlpudvvry.png)
Hence the cost of night lodging is $150.
Result :
The cost of night lodging is $150.
The cost of the boat ride is $35.
The cost of each boat is $150 and $35.