dorothy acquired a 100% interest in two passive activities: activity a in january 2017 and activity b in 2018. through 2020, activity a was profitable, but it produced losses of $200,000 in 2021 and $100,000 in 2022. dorothy has passive activity income from activity b of $20,000 in 2021 and $40,000 in 2022. after offsetting passive activity income, how much of the net losses may she deduct?