When you add the square of Thomas's age to Lauren's age the total is 62. When you add the square of Lauren's age to Thomas's age the total is 176. How old are Thomas and Lauren?