Given function is
Set x=5, substitute x=5, we get
The point (5,0) is lie on the ray.
Set x=0, and substitute x=0 in the function , we get
The point (0,-5) lies on the ray.
Set x=10, and substitute in function, we get
The point (10,-5) lies on the function.
Mark these points (5,0), (0,-5), and (10,-5) and join the ray.
The graph of the given function is
When x=2,
The point is (2,-3)
When x=8,
The point is (8,-3).