Great example. I am sure you learned more useful information for the second math teacher. However, more and more teachers are forced to teach like the first teacher to cover the information needed for a student to score well on a standardized test. That second teacher may find the he/she is discouraged from doing those great lessons so that there is more time to prepare for the big test.
I don't mean to say that the skill of the teacher makes no difference but heaping all abuse on the teacher is pointless. For example, let's compare two dentists. Both graduated at the top of their class and both continue to keep up to date on new techniques. Now, let's judge these dentists according to how many cavities their patients get. Do you see the problem with this? While the dentists can do everything possible to help their patients, they can't control if they brush, what kind of toothpaste they use, how good their diet is, etc. If you want to make these dentists more like teachers, severely limit the money they can use for supplies, give them outdated equipment, and give them patients that are disruptive during exams. This is what teachers have to deal with every day. So yes, blaming the teachers for the problems in education is ridiculous.