Exact solutions in inflationary flat cosmologies