Find the equation of any quadratics that passes through the origin and are tangent to both y=-2x-4 and y=8x-49.

I have thought about this problem for most of the afternoon now and got no where. I tried drawing it to see the problem but no good. I just don't know where to start or how to approach this problem. What/how should I be thinking?

Thank you