The line y=−x+1 is drawn on the coordinate plane. It is translated 1 unit to the right and 2 units up. What is the equation of the translated line?(1 point)

y=−x+4
y=3
y=x+4
y=x+3

To find the equation of the translated line, we need to adjust the equation of the original line by shifting it 1 unit to the right and 2 units up.

For the shift to the right by 1 unit, we replace x with (x - 1) in the equation.
For the shift up by 2 units, we replace y with (y + 2) in the equation.

The adjusted equation of the line becomes:
y + 2 = -(x - 1) + 1

Simplifying the equation gives us:
y + 2 = -x + 2 + 1
y + 2 = -x + 3
Subtracting 2 from both sides of the equation:
y = -x + 1 + 3
y = -x + 4

Therefore, the equation of the translated line is y = -x + 4.