Train A arrives at central station on the hour and every 12 minutes. Train B arrives on the hour and every 15 minutes. When do both trains arrive at the same time?

AOn the hour and 30 minutes past the hour
BOn the hour and 15 minutes to the hour
COn the hour and 27 minutes past the hour
DOn the hour

Please explain why you chose the answer and how you achieved it.