The sum of two numbers is 14 and their product is 40. What is the value of the sum of their squares?

(A)
(B)
(C)
(D)

Thanks!!