Consider the following premises. For all y, y is rich or y is not a writer. For all y, y is a mechanic or y is not rich. Can we infer the following from them? For all y, y is rich or y is not a writer.
That is one of the premises. Therefore, the answer is yes.