Reading 13 Q14

Why would the 1000 unrealized gain get the earning before tax 3000 higher?
Thanks in advance

The problem is solved