A line with undefined slope has an equation x=a.
So, for a line that passes through the point (x,y) = (-3,5) ,
has the equation x= - 3.
Here is the work for that problem
Step-by-step explanation:
Given 
To get g(x), we will have to integrate g'(x)

If g(1) = 0, this means at x = 1, g(x) = 0
0 = -1⁻¹ + C
C= 1
Substitute C = 1 into the function
g(x) = -x⁻¹ + 1
If g(2) = 0, this means at x = 2, g(x) = 0
0 = -2⁻¹ + C
C= 2⁻¹
C = 1/2
Substitute C = 2 into the function
g(x) = -x⁻¹ + 1/2