Let d be number of drinks and b be number of buckets of chips
2d+b=11 so we can say b=11-2d
3d+2b=19 and using b from above in this we get:
3d+2(11-2d)=19
3d+22-4d=19 subtract 22 from both sides
-d=-3 divide both sides by -1
d=3, and from earlier b=11-2d so
b=11-6=5
So a bucket of chips cost $5 and a drink costs $3
Y=-7
When a slope is zero the line will be vertical so basically all you need to do is get the Y of your points and use that in your sub intercept equation
Perimeter of the whole shabang should be (7*2)+(5*2)