7 packages will have 6 cupcakes each and the for 5 of the packages there will be 6 cupcakes in them.
I'm pretty sure y is 25.5, since you multiply 4 by 4.25 to get 17, so 6 x 4.25 is 25.5
First step: Isolate the term that has x. To do that, subtract 2y from both sides.
Now divide both sides by 3.
2x=3x-29
-x=-29
Divide by negative one
x=29.