The statement is true i.e. we have that if (complement of A) is a subset of B then (A union B)=U. Trivially since A and B are subsets of U we have that (A union B) is a subset of U.
Now let x be an element of U. Then there are two possibilities. Either x is an element of B or x is not an element of B.
In the first case we have that x belongs to B and hence, x belongs to (A union B).
In the second case, if x is not an element of B then x must be an element of A since if x is not element of A then x belongs to the complement of A which is a subset of B and hence, x belongs to B.
Thus, in both cases if x is an element of U then x is also an element of (A union B) which implies the desired equality (A union B)=U.
The proof is complete.