I have got this interview question twice. Does anyone know from which interview question book or another source this question comes from? It may be some well known source as two different interviewers asked the same question, but unfortunately I don't know the source.
Here is what I did during the interviews:
Apply Itô to $f(W)=W\exp(W)$
$\frac{\partial f}{\partial W}=\exp(W)+W \exp(W)$
$\frac{\partial^2 f}{\partial W^2}=2\exp(W)+W \exp(W)$
$df=(\exp(W)+W \exp(W))dW + (\exp(W)+1/2 W \exp(W)) dt$
Given that we will compute the expected value, we ignore the stochastic integral term:
$df= (\exp(W)+1/2f) dt$