The sum of A and B is -10.
The difference between A and B is 4.
The product of A B and C is 40.
Work out the value of C.