Explanation:
Graph of f is y = x and g is perpendicular to graph f and intersects at the point p(1/2,1/2), perpendicular slope M2 = -1/M1
As you can see g has a negative slop so it is multiplied by -1 and increased by 3 as you can see the y intercept intersection