Exact Solution of Petrov Type {3,1} Metric via Time Dependent Quasi-Maxwell Equations