solve :

5x-10y=-40 for y

I was thinking it was
5x-10(-40)...then solve am I close?

no, you want to get y all by itself. So, get all the y's on one side.

5x - 10y = -40
-10y = -40 + 5x
Now divide both sides by 10 to get y all alone:
y = 4 - 1/2 x

Thank you again - helps to see the work

To solve the equation 5x - 10y = -40 for y, you need to isolate the variable y. Here's a step-by-step explanation of how to do it:

1. Start with the equation: 5x - 10y = -40.
2. First, distribute the -10 to both terms inside the parentheses: 5x + 10y = -40.
3. Next, move the term 5x to the other side of the equation by subtracting 5x from both sides: 10y = -40 - 5x.
4. Simplify the right side of the equation: 10y = -5x - 40.
5. To isolate y, divide both sides of the equation by 10: y = (-5x - 40) / 10.
6. Finally, simplify the right side by dividing each term by 10: y = -0.5x - 4.

So, the solution for y is y = -0.5x - 4.

Regarding your thinking of substituting -40 for y, that's called substitution, which is used in solving systems of equations. However, in this case, we are trying to solve for y in a single equation, not a system of equations.