Assuming your solving for y:
py+7=6y+q
-6y -7 -6y -7
(p-6)y = q-7
divide both sides by p-6
y=(q-7)/(p-6)
95 is the better deal it’s only 35 more bucks and you get 150 more.
219+159≤x≤369+309
The answer can then be simplified to
378≤x≤678
Hope this helps! As long as you keep posting I’ll keep answering- always happy to help!