it works a little differently
the first $80K of capital gains less ordinary income not to exceed $80K is taxed at $0 so in your case, $10K of capital gains is taxed at $0
the next $271K of capital gains is taxed at 15%
the $70K of ordinary income is taxed as if that was your only income (using tax tables for MFJ) about $8K
this is a very simplistic presentation. other items on your return could affect the tax calculation