Contact symmetries and solutions by reduction of partial differential equations