Say that $A$ is a $K$-algebra and that $M$ is an $(A-A)$-bimodule. Let $\Lambda = A \ltimes M$ be a trivial extension of $A$, that is, the algebra with subjacent module $A \oplus M$, with multiplication defined as $$(a,x)(a',x') = (aa', ax' + xa')$$ in which $a,a' \in A$ and $x,x' \in M$. I am trying to solve the following problem (question 23 of the fourth chapter of Ibrahim Assem's "Algèbres et Modules: cours et exercices"):
Show that $\mathscr{M}(\Lambda)$ is equivalent to $\text{Mod}(\Lambda)$.
Here, $\mathscr{M}(\Lambda)$ is the category defined as follows: The objects are pairs $(X,\varphi)$ such that $X$ is an $A$-module and $\varphi: X \otimes_A M \rightarrow X$ satisfies $\varphi(\varphi \otimes 1_M) = 0$, and a morphism $(X, \varphi) \mapsto (X', \varphi')$ is an $A$-linear aplication $f:X \rightarrow X'$ such that $\varphi'(f \otimes 1_M) = f \varphi$.
I have tried to define functors between $\mathscr{M}(\Lambda)$ and $\text{Mod}(\Lambda)$ whose compositions are isomorphic to identities, but it leads me nowhere. Could anyone give me some pointers on how to proceed?