Solve the following system of nonlinear equations. Make sure all answers are in exact, simplified form. Separate answers with commas, as necessary.

y=(x5)2\displaystyle {y}={\left({x}-{5}\right)}^{{2}} 

 2x+2y=34\displaystyle {2}{x}+{2}{y}={34}