Here is a proof for the first one:
\begin{align} \cfrac{ \cfrac{ \cfrac{\\{ P, Q \lor R \\} \cap \\{ P \\} \
ot = \emptyset}{P, Q \lor R \vdash P} \text{Assm} } {P \vdash (Q \lor R) \rightarrow P}\rightarrow \text {Right}} {\vdash P \rightarrow ((Q \lor R) \rightarrow P)}\rightarrow \text {Right} \end{align}
The key is to start at the bottom, and work your way back. Keep asking: given that my goal is ...., what rule allows me to get ...?