You have to put the number and count how many there are. Something like this.
First find the amount of each payment:

The total cost will be 40 payments plus service charges.

The percentage is the service charge divided by total cost:

That's all you need to do
Cross multiplication is applied here.