Calculating power absorbed by each element
First: use Kirkoffs Voltage Law to calculate the voltage across each element. You will find that the current source I1 has to have 4V across it. This makes the power input from I1 = 8W. Now all the power is accounted for, 12W from V1 + 8W from I1 = 20W into R1.