X^2(y-7)-14x(y-7)+45(y-7)

To simplify the expression X^2(y-7) - 14x(y-7) + 45(y-7), you can use the distributive property and combine like terms.

First, let's distribute X^2 to (y-7):

X^2(y-7) = X^2 * y - X^2 * 7

This gives X^2y - 7X^2.

Next, distribute -14x to (y-7):

-14x(y-7) = -14x * y + (-14x) * (-7)

Which simplifies to -14xy + 98x.

Finally, distribute 45 to (y-7):

45(y-7) = 45 * y - 45 * 7

This simplifies to 45y - 315.

Now, let's combine the like terms:

X^2y - 7X^2 - 14xy + 98x + 45y - 315.

To combine the terms with y, we add X^2y and 45y:

X^2y + 45y = (X^2 + 45)y

Next, combine the terms with x, adding -14xy and 98x:

-14xy + 98x = (98x - 14xy).

Now, the final expression is:

(X^2 + 45)y - 7X^2 + (98x - 14xy) - 315.

Note: If you have values for X and y, then you can substitute those values into the expression to further simplify it.