What is the inverse of the given function?

Answer: -7, -1, 5, -5
Step-by-step explanation:
In order to find the inverse, swap the x's and y's and solve for y.
[tex]y=\dfrac{5x+1}{-x+7}\\\\\\\underline{Swap\ the\ x's\ and\ y's}:\\x=\dfrac{5y+1}{-y+7}\\\\\\\underline{\text{Multiply both sides by -y+1 to clear the denominator}}:\\x(-y+7)=5y+1\\-xy+7x=5y+1\\\\\\\underline{\text{Add xy and subtract 1 from both sides}}:\\7x-1=xy+5y\\\\\\\underline{\text{Factor out the y from the right side}}:\\7x-1=y(x+5)\\\\\\\underline{\text{Divide x+5 from both sides}}:\\\dfrac{7x-1}{x+5}=y[/tex]
Since the boxes you need to fill in show -x in the denominator, multiply the equation by -1/-1:
[tex]y=\dfrac{-1}{-1}\bigg(\dfrac{7x+1}{x+5}\bigg)\\\\\\\large\boxed{f^{-1}(x)=\dfrac{-7x-1}{-x-5}\qquad for\ x \neq -5}[/tex]