For the second question, you need only take the derivatives with respect to t and x and then check whether the identity holds. Note that, by Fubini theorem, you can take the derivatives within the integrals.
That is, the order of the integration and the differentiation is exchangeable.