Yeah probably i think you should move that thing over to the left
Honestly, the most intelligent solution would be to light the candle first, since it has a longer duration and then I can light the lamp, and then I can light the newspaper. Then, I will use the newspaper to light the fire.
I honestly don't know any of this so
10m + 80 = P
where every month he gets 10, and for 6 months, he now has 60
plus the 80 he already has
so (10 * 6 ) + 80 = 140