Rewrite this equation using cartesian coordiantes $x$ and $y$ In this question the $x$ and $y$ coordinates are given, however I do not know what to substitute in
$x=5t-2\;\quad y=-5t+7$
So far I have rearranged for $t$
$x+2=5t$
$\dfrac{x+2}5=t$
therefore would the next step by $y=-5\left(\dfrac{x+2}5\right)+7$ ?

$x=5t-2$
$x+2=5t$
$\dfrac{x+2}5=t$
$y=-5t+7$
$y=-5\left(\dfrac{x+2}5\right)+7$
$y=-(x+2)+7$
$y=-x-2+7$
$y=-x+5$
