Determine the inverse of the function by interchanging the variables and solving for y in terms of X

We are required to find the inverse of the function
The first step is to interchange the variable x for y
[tex]x=\frac{y}{2}-\frac{3}{2}[/tex]The next step is to make y the subject of the formula
[tex]\begin{gathered} x=\frac{y}{2}-\frac{3}{2} \\ \frac{y}{2}=x+\frac{3}{2} \\ \text{ Multiply the equation throughout by 2} \\ y\text{ = 2x + 3} \end{gathered}[/tex]The answer is y = 2x + 3