24=5y-2+2y+5

Rewrite the equation as 5y-2+2y+5=24.

5y-2+2y+5=24

Add 5y and 2y.

7y-2+5=24

Add -2 and 5.

7y+3=24

7y+3=24

Subtract 3 from both sides of the equation.

7y=24-3

Subtract 3 from 24.

7y=21

7y=21

Divide each term in 7y=21 by 7.

7y7=217

Cancel the common factor of 7.

Cancel the common factor.

7y7=217

Divide y by 1.

y=217

y=217

Divide 21 by 7.

y=3

y=3

Solve for y 24=5y-2+2y+5