(i) Height of the first pile is 6w+5 cm; height of the second is 2w+12 cm. They are equal:
6w+5=2w+12
Put w=2: LHS =12+5=17 and RHS =4+12=16. The two sides are not equal, so Divya's claim is wrong.
(ii) Subtracting 2w from both sides:
4w+5=12
Subtracting 5 from both sides:
4w=7
Dividing both sides by 4:
w=47=143
Each notebook is 143 cm thick.
Check: 6×47+5=1021+5=1521 and 2×47+12=321+12=1521.