Answer
See graph
Explanation
The given line segment passes through the point

and

.
We plot this points and draw a straight line to them to obtain the blue line as shown in the
attachment.
The slope of this line segment is given by the formula
This implies that,

The equation of this line is given by the formula,
We now find the inverse by interchanging x and y.
We now make y the subject,
We now plot some points.
When

This gives the ordered pair
Also when


This gives the ordered pairs,

We plot these points too and draw a straight line through them to get the red line in the attachment.