On the solution of a class of second-order quasi-linear PDEs and the Gauss equation