The task is to generate the correct answer for a given math problem.

Q: Problem: a palindrome is a number that reads the same front - to - back as it does back - to - front ( e . g . 202 , 575 , 1991 , etc . ) p is the smallest integer greater than 500 that is both a prime and a palindrome . what is the sum of the digits of p ?

A: 4
****
Q: Problem: a father said to his son , ' ' i was as old as you are at the present at the time of your birth ' ' . if the father ' s age is 52 years now , the son ' s age 5 years back was :

A: d ) 21
****
Q: Problem: the area of one square is x ^ 2 + 6 x + 9 and the area of another square is 4 x ^ 2 28 x + 49 . if the sum of the perimeters of both squares is 56 , what is the value of x ?

A:
6
****