You can create a right angled triangle.
Find the hypotenuse.
The third point of the triangle is (1,0)
using pythagoras, the value of a is 2, b is 3. 2^2 +3^2 = 13.
Therefore the distance between the two points is
(x,y)
x=input
y=output
example
we see
g=(1,2)
theefor
g(1)=2
a.
f(4)=1
g(1)=2
g(f(4))=2
b.
g(-2)=4
f(4)=1
f(g(-2))=1
c.
f(3)=5
g(5)=5
f(5)=0
f(g(f(3)))=0
Input (x-value)
Output (y-value)
You need to find the x-value that produces a y-value of -1. Since you know:
y = -1 Use the rule, and substitute/plug this into the equation
y = -2x + 33 Plug in -1 for "y" in the equation since y = -1
-1 = -2x + 33 Subtract 33 on both sides
-1 - 33 = -2x + 33 - 33
-34 = -2x Divide -2 on both sides to get "x" by itself

17 = x
An input of 17 yields an output of -1
58,365 rounded to the nearest thousand is 58,000