Hannah, a sales agent receives a commission of 10% on the first 20000 pesos, 8% on the second 20000 pesos, and 5% on all sales above 40000 pesos. How much was her commission if her total sales for the month amounted to 50000?

20,000 * 0.1 = 2,000

20,000 * 0.08 = 1,600
10,000 * 0.05 = 500

Add.

4100

To calculate Hannah's commission, we need to follow the commission structure mentioned in the question.

First, let's calculate the commission for the first 20000 pesos, which is 10% of 20000:
Commission for the first 20000 pesos = 10% of 20000 = 0.10 * 20000 = 2000 pesos.

Next, we need to calculate the commission for the second 20000 pesos at a rate of 8%:
Commission for the second 20000 pesos = 8% of 20000 = 0.08 * 20000 = 1600 pesos.

Now, we have 10000 pesos remaining from the total sales of 50000 pesos (50000 - 40000 = 10000 pesos). Here, we need to apply a 5% commission rate:
Commission for the remaining 10000 pesos = 5% of 10000 = 0.05 * 10000 = 500 pesos.

Finally, we can add up all the commissions to get the total commission:
Total commission = Commission for the first 20000 pesos + Commission for the second 20000 pesos + Commission for the remaining 10000 pesos
= 2000 pesos + 1600 pesos + 500 pesos
= 4100 pesos.

Therefore, Hannah's commission for the month, with total sales of 50000 pesos, would be 4100 pesos.