How you can obtain data by selecting a checkbox, as shown in the image:
When entering a salary, I get its value from the field and when I select "AFP" I can multiply the value obtained from salary with 0.10 which is the value of the AFP, in the same way the others, how would that goal achieve?