How are taxes calculated when selling self-acquired property?