hi
to calculate the difference in %
back side amount 1 = back_amount1/(back_amount1+lay_amount1)
lay side amount1 = lay_amount1/(back_amount1+lay_amount1)
if you wanted to calculate both sides for the 3 amounts you would have to add all 3 amounts / (3 back amounts+3 lay amounts)