solve the following equation

3(y-5)+2=5

To solve the equation 3(y - 5) + 2 = 5, follow these steps:

1. Distribute the 3 to the terms inside the parentheses:
3y - 15 + 2 = 5

2. Combine like terms:
3y - 13 = 5

3. Isolate the variable term by adding 13 to both sides of the equation:
3y = 18

4. Divide both sides by 3:
y = 18/3

5. Simplify:
y = 6

Therefore, the solution to the equation is y = 6.