Rodriguez Company pays $400,140 for real estate with land, land Improvements, and a bullding. Land Is appralsed at $270,000; land Improvements are appraised at $108,000; and the bullding is appralsed at $162,000. 1. Allocate the total cost among the three assets. 2. Prepare the journal entry to record the purchase.