Well, you should have learned to have realistic expectation of your time. 3-4 hour round trip? Wow that is crazy
Also, you weren't aware of special drop policy. You should have learned to read school policies. If you are dropping a class, it pays to read your school's drop policies or ask. Deadline to drop for refund, without W, with W, too late to drop? etc.
They aren't looking to see if you learned the meaning of life
If helps if you retook the class and did well in it. Most schools have supplemental parts that allow you to explain why you have a academic flaw. It also helps cause it happened to you early on. Progressive improvement always looks good.