Three people are making transactions at an automated teller machine.
A line of people at an ATM.
If there are three people at the ATM, there must be a line of them there.
Three people are line of people, and at an ATM implies transaction.
Three people cannot operate an ATM, or automated teller machine, at once so there must be a line.