In my experience finding an explicit resolution is rarely possible. Instead you want to learn how to use the six operations. A good reference is section 8.3 of [Chriss and Ginzburg.][1] First a few general facts. Let $X$ be a variety and let $p: X \to pt$ be the unique map to the point. There are two interesting sheaves on $X$: the constant sheaf $k_X = p^* k_{pt}$ and the dualizing sheaf $\mathbb{D}_X = p^! k_{pt}$. Note that the constant sheaf is preserved under $*$-pullbacks and the dualizing sheaf is preserved by $!$-pullbacks. Furthermore if $X$ is smooth we have $\mathbb{D}_X = k_X[\dim_{\mathbb{R}} X]$. Now we are ready to solve your problem. Let $i: M \times M \times \{0\} \to M \times M \times \mathbb{R}$. Note that since $i$ is closed we have $i_! = i_*$. Now we compute \begin{align} \mathcal{RHom}(i_! i^* k_{M \times M \times \mathbb{R}}, k_{M \times M \times \mathbb{R}}) &= \mathcal{RHom}(k_{M \times M \times \{0\}}, i^!\mathbb{D}_{M \times M \times \mathbb{R}}[-2m-1]) \\ &= \mathcal{RHom}(k_{M \times M \times \{0\}}, \mathbb{D}_{M \times M \times \{0\}}[-2m-1]) \\ &= \mathcal{RHom}(k_{M \times M \times \{0\}}, k_{M \times M \times \{0\}}[-m-1]) \\ &= k_{M \times M \times \{0\}}[-m-1] \end{align} where $m = \dim_{\mathbb{R}} M$. [1]: http://link.springer.com/book/10.1007%2F978-0-8176-4938-8