Answer:
Each donut costs $2 and each cookie costs $1.5
Explanation:
1. Let´s name the variables as the following:
x = price of one donut
y = price of one cookie
2. Write in an equation form which Bentley bought:
(Eq.1)
3. Write in an equation form which Skylar bought:
(Eq.2)
4. Solve for x in Eq.1:
![4x+10y=23](https://img.qammunity.org/2020/formulas/mathematics/middle-school/qxzrkaj3eywy6mv0e15rro5hwdnjqyke27.png)
![4x=23-10y](https://img.qammunity.org/2020/formulas/mathematics/middle-school/87nwwrtozqc7h0xq6b0pvtt8lpdkrn6f0j.png)
(Eq.3)
5. Replace Eq.3 in Eq.2 and solve for y:
![8*((23-10y)/(4))+6y=25](https://img.qammunity.org/2020/formulas/mathematics/middle-school/ivbpho4q0rs0pijup1k0dzzyxqow3tt60h.png)
![(184-80y)/(4)+6y=25](https://img.qammunity.org/2020/formulas/mathematics/middle-school/rbapdgoev64cbbgnz3wslceviiudcrxloa.png)
![(184-80y+24y)/(4)=25](https://img.qammunity.org/2020/formulas/mathematics/middle-school/zadeyv7djou8rykri9bebtgdnj44t3cusm.png)
![184-80y+24y=100](https://img.qammunity.org/2020/formulas/mathematics/middle-school/tjqmnt8lh1vo6pq0m11nk6sv20p3iw2uj9.png)
![-80y+24y=100-184](https://img.qammunity.org/2020/formulas/mathematics/middle-school/kr1eyo94ivutat4gr5pn8joct39108c6z0.png)
![-56y=-84](https://img.qammunity.org/2020/formulas/mathematics/middle-school/rbb5pqwu4p3teeuvlti87btpubaw9fftcu.png)
![y=(84)/(56)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/kk22n8no8aaye6ss5182r12n278mawxdo7.png)
![y=1.5](https://img.qammunity.org/2020/formulas/mathematics/middle-school/o76cm8kh66moojeptslkpq9jfhpuvsw6c6.png)
6. Replacing the value of y in Eq.3:
![x=(23-10*(1.5))/(4)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/4nhw2i4yjme830ihenkxndykuc4ts7g3d9.png)
![x=(23-10*(1.5))/(4)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/4nhw2i4yjme830ihenkxndykuc4ts7g3d9.png)
![x=(23-15)/(4)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/sk1ssihe1zqbr1w7yycx2mhtcsls8ddnle.png)
![x=(8)/(4)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/it3gcnz14ka8uf42xst59knvrd2zizrtp1.png)
![x=2](https://img.qammunity.org/2020/formulas/mathematics/middle-school/rgwu4x0cp6hdykhfamznd7kqdkp0xgsg9s.png)
Therefore each donut costs $2 and each cookie costs $1.5