(I'm stuck on something)

I used the formula I=PRT for the two payments.

($3000)(0.08)(10) = $960

($4000)(0.07)(10) = $2800

Then I add them together: $3760

This is where I'm stuck. Do I use the same formula or find another one?

Your help is very much appreciated. Thanks