Construction of solutions to partial differential equations by the use of transformation groups