A generic cosecant function is

We must find A, k, θ, and C using the information that we have.
Finding A:
To find A we can use the range of the function, we know there is a gap between -9 and 5, that's the crucial information, the value of A will be the mean of |-9| and |5| (in modulus!), therefore

Therefore

Finding C:
We can use the fact that we know A and find C, let's suppose that

For an unknown value of x, it doesn't matter, using the range again we can use the fact that 5 is a local minimum of the function, therefore, when the csc(kx + θ) is equal to 1 we have that the function is equal to 5

And we find that C = -2. Tip: You can also suppose that it's -1 and use -9 = 7 + C, the result will be the same.
Finding k:
Now we will use the asymptotes, we have two consecutive asymptotes at x = 0 and x = 2π, it means that the sin(kx) is zero at x = 0 and the next zero is at x = 2π, we know that sin(x) is zero every time it's a multiple of π, which gives us

Therefore, k = 1/2

Finding θ:
It's the easiest one, since we have a zero at x = 0 it implies that θ = 0
Therefore our function is

Final answer:
