$\hat{D}_x(x)=e^{-i\frac{x}{\hbar}\hat{p}_x}$:
the spatial displacement operator, moves the wave
function $\psi$ along the x coordinate, $\hat{p_{x}}$
is the momentum operator which generates the displacement.
First let me say that using $x$ in the definition
of $\hat{D}_x(x)$ is really confusing, because $x$ is also used
as the spatial coordinate of the wave function $\psi(x,y,z)$.
Therefore I prefer to write it as
$$\hat{D}_x(a)=e^{-i\frac{a}{\hbar}\hat{p}_x} \tag{1}$$
We need to show that this operator is displacing
a wave function $\psi(x,y,z)$ by a distance $a$ in $x$-direction.
Recall the definition of the momentum operator
$$\hat{p}_x=\frac{\hbar}{i}\frac{\partial}{\partial x} \tag{2}$$
Plugging (2) into (1) we get
$$\hat{D}_x(a)=e^{-a\frac{\partial}{\partial x}} \tag{3}$$
Now we use the well-known expansion of the exponential function
$$e^A=1+A+\frac{1}{2}A^2+\frac{1}{3!}A^3+\frac{1}{4!}A^4+... $$
with $A=-a\frac{\partial}{\partial x}$ to rewrite (3)
and get:
$$\hat{D}_x(a)=1
-a\frac{\partial}{\partial x}
+\frac{a^2}{2 }\frac{\partial^2}{\partial x^2}
-\frac{a^3}{3!}\frac{\partial^3}{\partial x^3}
+\frac{a^4}{4!}\frac{\partial^4}{\partial x^4}
\pm... \tag{4}$$
This is still an operator equation.
We let the operators on the left and right side
operate on an arbitrary wave function $\psi(x,y,z)$
and get:
$$\begin{align}
\hat{D}_x(a)\psi(x,y,z)
&=\left(1
-a\frac{\partial}{\partial x}
+\frac{a^2}{2}\frac{\partial^2}{\partial x^2}
-\frac{a^3}{3!}\frac{\partial^3}{\partial x^3}
+\frac{a^4}{4!}\frac{\partial^4}{\partial x^4}
\pm…
\right)\psi(x,y,z) \\
&=\psi(x,y,z)
-a\frac{\partial \psi(x,y,z)}{\partial x}
+\frac{a^2}{2}\frac{\partial^2\psi(x,y,z)}{\partial x^2}
-\frac{a^3}{3!}\frac{\partial^3\psi(x,y,z)}{\partial x^3}
+\frac{a^4}{4!}\frac{\partial^4\psi(x,y,z)}{\partial x^4}
\pm…
\end{align} \tag{5}$$
Here we recognize the right side as the Taylor series
expansion of $\psi(x-a,y,z)$. So we finally have:
$$\hat{D}_x(a)\psi(x,y,z)=\psi(x-a,y,z) \tag{6}$$
Now we have proven that the operator $\hat{D_x}(a)$ has displaced
the wave function $\psi$ by a distance $a$ in $x$-direction.
Showing that $\hat{R}_x(\theta)=e^{-i\frac{\theta}{\hbar}\hat{L}_x}$
rotates the wave function $\psi$ by an angle $\theta$
around the $x$-axis,
can be done in a similar way by using the definition of
the angular momentum operator $\hat{L}_x$.