When work done by a system was 10 J, the increase in the internal energy of the system was 30 J. The heat 'q' supplied to the system was: