You do not do any adding or subtracting with your unemployment. All you need to do is enter your 1099G for unemployment and let the software take care of the calculations. The software is up to date for unemployment and will treat the unemployment correctly on your federal and state returns.
Enter your 1099G in Federal>Wages & Income>Unemployment
Go through the screens very carefully, making sure to enter any federal/state tax you had withheld from the unemployment.