Which sentence has correctly used the “2clauses” comma rule?

a.
The financial aid office had a long line and water was offered.

b.
The financial aid office had a long line, and water was offered.