The article presents a solution to the Einstein equations and a derivation of the Wheeler-de Witt equation. It illustrates how the inflationary cosmological solution to Einstein equations are derived by combining the said equations with the scalar-field one. It also shows how the Wheeler-De Witt equation is satisfied by the wave function of the Universe.