Resistor values for P-Channel MOSFET + NPN Transistor Switch

change R1 to 1k.

I've tried to figure out the values for R1 and R2 for a while now but couldn't find an example nor an understandable explanation on how to calculate their values. I'd really appreciate if someone could point me to a possible solution.

Whatever you are trying to do it is not going to work with that circuit.
List the reason for each of the components in your circuit:

1 - 2n2222 (purpose)
2 - P-channel mosfet (purpose)
3.- led (purpose)
4- module (post vendor link and correct name for module) (purpose should be self explanatory)
5- battery (purpose self explanatory)

here's an example of how to use an npn transistor to switch a p-channel mosfet