There are two numbers such that their product is 12 and the sum of the numbers is 8.
Find the sum of their squares.