The first thing you do is distribute, so for example, (d), you would do 6 times 2 and 6 times 3 and get 18-18x+1 and then add 1 to 18 and get 19-18x then just divide -18 on both sides so 18 will cancel out and get 19/18 or 1.05 repeating.
Hopefully that helps