If the 1031 was properly executed and the full amount of the sales price was invested in replacement property, the deferred gain amount would be allocated, primarily, based on the relative values of the two properties. For example, if the gain deferred was $30,000 and one property cost $100,000 and the other cost $200,000, then $10,000 of the gain would be allocated to property 1 and $20,000 to property 2.
The basis of the two new properties is equal to your basis in the sold property plus any additional amount you had to pay. This is an oversimplification but very close to the actual computatin. If your basis in the sold property was $200,000 and you had to pay $50,000 in addition to the sales proceeds for the replacement property, your basis in the new property would be $250,000 no matter what its actual dollar cost was.
Based on that, your basis in the first property is $37,143 (130,000/210,000*60,000). Your basis in the second property is $102,857 (80,000/210,000*60,000 + 80,000).
This is based on your basis in the sold property being 60,000 as indicated by proceeds of $210,000 and gain of $150,000.