after spending 80% of her money Lei has P100.00 left. How much was her money before

What's left is is 100-80=20%

So the original amount A can be found by proportions:
P100/20%=X/100%
solve for X:
P100*100%/20%=P500