We are asked to determine a function that has two vertical asymptotes at:

And an x-intercept at:

And a y-intercept at:

This means that the function must have the following form:

Where:

Now, we substitute the known values:

Now, we determine the value of "k" using the y-intercept, since this means that when "x = 0", then "y = -2". Substituting we get:

Solving the operations:

Simplifying:

Now, we multiply both sides by -4:

Now, we multiply both sides by -1:

Substituting in the function we get:

And thus we get the function we were looking for in the factored form.
Now, to determine the expanded form we use the distributive property on the denominator, we get:

Adding like terms:

Now, we apply the distributive property on the numerator:

And thus we get the expanded form.