Vector space/Union of linear subspaces/Exercise

Let be a field, and let be a -vector space. Let be subspaces of . Prove that the union is a subspace of if and only if

or .