$\pi : Q \rightarrow P$ is a projection of two forcing poset if and only if
(1) $\pi$ is order preserving, onto, and maps $0_Q$ to $0_P$.
(2) For all $q \in Q$ and $p' \in P$, if $p' \geq \pi(q)$, then there exists a $q' \geq q$ such that $\pi(q') = p'$.
$\pi$ is a trivial projection if and only if $\pi(q_1) = \pi(q_2)$ implies $q_1 \not \perp q_2$.
In $\textit{Proper Forcing}$ by Uri Abraham, he claims if $G$ is $P$-generic, then $\pi^{-1}(G)$ is $Q$-generic, when $\pi$ is a trivial projection.
I can't seem to show that $\pi^{-1}(G)$ is a filter in $Q$. In particular, I can not show that two elements of $\pi^{-1}(G)$ has a compatible extension in $\pi^{-1}(G)$.
Abraham forcing notation is the opposite of Jech and Kunen; however, I will use his convention here.
One possible approach: let $q_1, q_2 \in \pi^{-1}(G)$. $\pi(q_1)$ and $\pi_1(q_2)$ are in $G$. Hence, there exists an extension $r \in G$ such that $r \geq \pi(q_1)$ and $r \geq \pi(q_2)$. By (2), there exists $q_1' \geq q_1$ and $q_2' \geq q_1$ such that $\pi(q_1') = r = \pi(q_2')$. By the definition of trivial, $q_1' \not \perp q_2'$. However, I do not see how to show that there exists a compatible extension in $\pi^{-1}(G)$.
Thanks for any help.
I hope you don't mind, but I will change your forcing order direction (i.e. I will extend downward).
Your approach works; it just needs a small step at the end. Let me just reiterate to fix my notation:
Let $q_1,q_2\in\pi^{-1}[G]$. Since $G$ is a filter, there is a $p\in G$ such that $p\leq q_1,q_2$. By (2) there are $q_1'\leq q_1$ and $q_2'\leq q_2$ such that $\pi(q_1')=\pi(q_2')=p$.
I now claim that the image of the set of common extensions of $q_1'$ and $q_2'$ is dense below $p$. Indeed, take $p^*\leq p$. By (2) there are $q_1^*\leq q_1'$ and $q_2^*\leq q_2'$ such that $\pi(q_1^*)=\pi(q_2^*)=p^*$ and these two are compatible, by triviality, with common extension $q^*$. But then, by monotonicity, we have $\pi(q^*)\leq p^*$.
By genericity there is a $q_0\leq q_1,q_2$ such that $\pi(q_0)\in G$, as required.