According to your sketch you get:

and

Now let and

............. then the vector could be expressed by:

You'll get the equation:

............. Expand the brackets and collect like terms:

............. From this equation you can extract a system of simultaneous equations:

............. I've got

Therefore

and

The ratio