It is possible.
I do not recommend pursuing this endeavor though, if you lack the math to figure out this step. You're only going to run into more difficult issues as you proceed.
thanks, I really want to at least get that working, could you explain the math to me? if I run into any issues further down the line, it's okay.