You'd find the vertical asymptotes by seeing where the denominator equals zero; you can do so by factoring the denominator.
In this case, you can factor the denominator into (x+3)(x+2), so if you set each of those equal to zero you can find the equations of the vertical asymptotes (x=-3 and x=-2).
14 squared + 14 squared = x squared
(x is the missing side)
196 + 196 = x squared
392 = x squared
(square root each side)
392 square rooted = 19.79
x square rooted = x
19.79 m is your missing side length
The answer to this is q=3/4 and q=1/4