A perfect gas goes from state A to state B by absorbing 8×105 joule and doing 6.5×105 joule of external work. If it is taken from same initial state A to final state B in another process in which it absorbed 105 J heat, then in the second process work done ?