I've been stumped by a pretty simple question about power through an element in a circuit for a few days, and I was hoping someone could clear it up.
In the first diagram, the way I think of it is that the voltage from the bottom to the top, as indicated by the arrow and $v_b$, goes from negative to positive, and the current $i_b$ comes in through the positive side, so it's absorbing power. We use $P=IV$ and get an answer of $30$ watts absorbed by the element.
I employed the same logic for the second circuit, but I've been told repeatedly that my answer is wrong but I have no idea why. My logic is that the voltage between points D and E is $20$, and voltage goes from negative to positive, so D is the negative end and E is the positive end. So if a positive current of $3$ amps is flowing from E to D, then the current is entering from E, which is the positive end. So again, power is being absorbed, so $P = IV$ and we get $60$ watts absorbed. But everybody is telling me it's 60 watts supplied, or $-60$ watts absorbed.
Am I making a silly mistake or is my answer actually correct?