In the area theorem, triangles between the two parallel lines should have
common base
To have equal areas the triangles have to be on common base then only the theorem holds true.
So for the given diagram, BC is a common base for the triangles ABC and DBC.