How are %Ap modifiers calculated
When you buy rabadons you get 35% extra AP and when you get dragon buff you get 6% extra AP, are these calculated separately or together meaning
Separate: AP * .35 = x AP+AP= new ap total. New AP total * .06= x AP+New Ap total= Final result
vs
Together: 35%+6%=41%, AP * .41= x AP + AP= Final result
both methods give different results, the first option gives more AP and the second one gives less. Does anyone know how it is calculated?