I've graphed it for you below.
For f(x) to be g(x), the equation f(x) would shift left one
<h3>hello!</h3>
We're given a point that the line intersects and its slope.
Let's use Point-slope:-
y1 = -5
m=-5
x1=-1
Convert to slope-intercept:-
Finally,
<h3>note:-</h3>
Hope everything is clear; if you need any clarification/explanation, kindly let me know, and I will comment and/or edit my answer :)
Abd is a right angled triangle so by pythagoras we know
and to calculate h we need to use the sine rule
i hope this helps