Investors & landlords

Great! So my 1040 will properly net the 1231 gain against the 1250 before applying appropriate tax rates? Thanks for your help!