A heat engine absorbs heat q1 from a source at temperature T1 and heat q2 from a source at temperature T2. Work done is found to be J(q1 + q2).This is in accordance with
(a) First law of thermodynamics
(b) Second law of thermodynamics
(c) Joules equivalent law
(d) None of the above