To remove any line you either need to port the line to another carrier or call to cancel. You definitely need to call to cancel the tablet. As for your phone, it will get replaced on your account by the upgrade, presuming you are keeping the same number.
Award for Community Excellence 2019 Achiever* *The views and opinions expressed on this forum are purely my own. Any product claim, statistic, quote, or other representation about a product or service should be verified with the manufacturer, provider, or party.