Scalar and vector potentials
By (M2), there exists a magnetic vector potential $\v A(\v x, t)$ satisfying $$ \begin{align*} \v B = ∇ \times \v A. \end{align*} $$ Then (M3) implies there is an electric scalar potential $Φ(\v x, t)$ satisfying $$ \begin{align*} \v E = -∇Φ - \pdfd{\v A}{t}. \end{align*} $$
We can undergo a gauge transformation $$ \begin{align*} \tilde{\v A} = \v A + ∇χ, \qquad \tilde Φ = Φ - \pdfd{χ}{t} \end{align*} $$ for any time-dependent scalar field $χ(\v x,t)$ without changing $\v E$ and $\v B$.