Darboux transformation and a fourth order ordinary equation are used to uniformly construct exact solutions for three well-known equations: KdV equation, Kadomtsev-Petviashvili equation and Hirota-Satsuma equation. These solutions possess various forms and especially contain well-known solitary wave solution and travelling wave solutions.