I have to write a prolog query to print family details of each family where children’s total income is more than their parents, I\'ve written but I\'m getting this error