For 1. "P only if Q" translates to $P \rightarrow Q$. The 'only if' works differently from a plain 'if': the 'if' expresses a _sufficient_ condition, while the 'only if' expresses a _necessary_ condition. So, "P only if Q" expresses that Q is necessary for P to be the case or, equivalently, that if Q is not the case, then P is not the case, i.e $\
eg Q \rightarrow \
eg P$ ... which by contraposition is equivalent to $P \rightarrow Q$
For 2. "Not both P and Q" says that it is not true that both P and Q are true, so that translates to $\
eg (P \land Q)$
For 1. And 3. Contrary to whatever source on the internet you were using, you cannot assume that "either ... or..." always translates to an XOR. For example, when I say "If I grow old, I want to be either rich or happy" I certainly don't mean to say that I don't want to be both rich and happy! Context and common sense will often tell you whether an inclusive or exclusive or is meant.