Fundamentals of Electrical Engineering

current source: $P=-36W$ (delivered) R: $P=30W$ (absorbed)
First calculate V1 using KVL $ΣV = 5 -3 +10 -v1 =0$ $v1=12V$ now calculate the power of the current source, multiply by a negative to put it into passive convention $P = -(12*3)=-36W$ (delivered) Now for the resistor, the current is 3A from the source, and is already in passive convention $P = 10 * 3 = 30W$ (absorbed)