Absolutely. The test was probably written by the person grading it to cover fraction/ratio problems. The question shown is a poor rewrite of something like, "If it takes 10 minutes to fill two buckets, how long does it take to fill three buckets?"
The format of the page looks like something out of a book, not something that the teacher made. My guess of what happened is that when the teacher went to solve the problem, she read it as the bucket problem.
Thanks, finally I see the reason behind the teacher's solution...
I think, this is a good example why you should not divide math problems in rigid cetegories. Things become worse when badly taught high school students go to college, and fail to do simple arithmetics and algebra.