Computes integers a and b such that H0(OP(E)(aH+bR)) corresponds to basis({a’,b’},Rcox), where Rcox is the Cox ring of the scroll P(E).