This question was asked in Ex 7.3,7
Explain 7(6-r)-r(6-r)=12

Abhishek Cbk's image