Lollipop: $$7$$  Toffee: $$7\times5=35$$  Chocolate bar: $$7+5=12$$  Total: $$7+35+12=54$$ 
Boyuan bought $$3$$ types of candies. He bought $$5$$ times as many toffee as lollipop. He bought $$5$$ more chocolate bar than lollipop. If he has $$7$$ lollipop, how many candies did he bought in total? 

a) $$17$$ 
b) $$32$$ 
c) $$40$$ 
d) $$54$$ 