Let the price of the goods is Rs. 1 per gm.
For 16 gm of goods, CP is Rs. 16
Shopkeeper sold the goods at 6(1/4)% loss on CP
⇒ SP of the goods = 16 – (25 × 16)/(4 × 100)
⇒ SP of the goods = Rs. 15
Shopkeeper also uses 12(1/2)% less weight
⇒ For 16 gm of goods, he weighs = 16 – (25 × 16)/ (2 × 100) = 16 – 2 = 14 gm
CP of 14 gm of goods = Rs. 14
⇒ Profit = 15 – 14 = Rs. 1
⇒ Profit % = 1 × 100/14 = 50/7% = 7(1/7)%
∴ Profit gained by the shopkeeper is 7(1/7)%