Turns out the math wasn't nearly this difficult.