To simplify the expression YB − 6 + 7 + 2B − 3B + 1, we can combine like terms:
YB + 2B − 3B + 7 + 1 − 6.
Combining the similar terms, we have:
(Y + 2 - 3)B + (7 + 1 - 6).
Simplifying further, we get:
(Y - 1)B + 2.
We want this expression to be equivalent to 5B + 2, so,
(Y - 1)B + 2 = 5B + 2.
Since the two expressions are equal, their coefficients must be the same:
Y - 1 = 5.
To find the value of Y, we add 1 to both sides:
Y = 5 + 1.
Therefore, the value of Y that makes the two expressions equivalent is Y = 6.