ok so first you need to find the line thats perpendicular to y=2x-2 and that is y=-1/2x+b
next solve for the y intercept, and i got 3 so now the equation would be y=-1/2x+3
now you need to find the point of intersection between the two points so you would use either subsitution or elimination or any other method you are comfortable with.
I used substitution:
2x-2=-0.5x+3
x=2
y=2
and then you would need to find the distance between the points (2,2) and (6.0) so you would use the distance formula:
\(\sqrt{(-2)^2+(4)^2}\)
\(\sqrt{4+16}\)
\(\sqrt{20 }\)
\(2\sqrt{5}\)
❀◕ ‿ ◕❀ ❀◕ ‿ ◕❀ ❀◕ ‿ ◕❀