The correct answer would be B) or the second option ''After the customers ate, the leftover food was thrown away''. That sentence is correctly punctuated with the comma, because if you honestly read it out loud it makes sense with the comma rather than the semicolon so therefore its B).