In No. 2
100 Kilos - P26 per kilo rice
50 Kilos - P24 per kilo rice
100 x 26 = 2600
50 x 24 = 1200 then 2600 + 1200 = 3800
P3800 can be divided into P25 per kilo
In NO.1
There is 12 Peso coins and 48 Centavo coins
P1 Peso = 4 P25 centavo coins
then P25 centavo coins x 4 = P1 Peso
So if there are 12 Peso coins = 48 centavo coins and
48 divided into 4 = P12 peso coins, 12 + 12 = 24.