2(18) + 2w = 52
2w = 16
w = 8
i am a mathematics teacher. if anything to ask please pm me
1.30 × 3 = 3.90
3.90 + 0.65 (half of 1.30) = 4.55
the most 104 can be devided by 4.55 with no remainders is 22
22 × 4.55 = 100.1
this leaves with 3.9$ which we can buy 3, 1.30 with
22 + 3 = 24
25 tarts is the most you can buy with 104$ leaving on remainders.
I think this is what you want to do
Your welcome