To remove a soldered joint, you heat it until the solder is melted. You will know when this happens because you should be pulling on the stub with pliers. When the solder is fully melted, the stub will just pull out. The install a new piece, the interior of the tee must be cleaned of solder which involves heating and brushing with a wire brush designed for that size fitting. There will be a thin coating of solder remaining, but no ridges. For that point it is a basic sweat process. Clean and flux the surfaces of the pieces, heat until solder melts and is drawn into the joint, let cool. Might be a problem for a novice because of the location. Keep a spray bottle of water within easy reach as fire is always a concern when soldering in a tight, enclosed space with wood very close. Safest thing to do is call a professional.