Question 678496
Let X = the number of calories in a scoop of ice cream
the number of calories in a piece of pie = 2x-25

together they have 500 calories so we add them

X+2X-25=500
3X-25=500
3X=525
X=175

the number of calories in a scoop of ice cream is 175

to get the number of calories in a piece of pie plug the value of x into
2X-25
2(175)-25
350-25
325

the number of calories in a piece of pie is 325

325+175=500