Solve the following equation by trial and error method: (i) 5p+2=17