Calculating $\langle p | [x,p] | \psi \rangle $ using Dirac notation.
I am aware of the relations $$\langle p|x| \psi \rangle = i \hbar \frac{d}{dp}\langle p| \psi \rangle, \langle x | p|\psi\rangle = i \hbar\frac{d}{dx} \langle x | \psi \rangle$$
which should become relevant here:
$$\langle p | xp - px| \psi \rangle = \langle p | xp| \psi \rangle - \langle p | px| \psi \rangle$$
However, I am a bit stuck on how to think about two operators acting on $| \psi \rangle$. For example, for the first element in the equation above, should I think about it as $p$ acting on $| \psi \rangle$ first, then $x$? As such, the following becomes:
$$ \langle p|x| \psi \rangle = i\hbar \frac{d}{dp} \langle p | \psi \rangle$$
How do I approach the other one? I know that my final andger needs to somehow result in $i\hbar \langle p | \psi\rangle$... Your help is appreciated.