How many pupils can be seated in a room with N single chairs and B double seated benches?

Answer: 
2b + n
How many pupils can be seated in a room with N single chairs and B double seated benches?