Deductions which are allowable under section 512 but are not directly connected to a particular trade or business, such as deductions referred to in paragraphs (10) and (12) of section 512(b), shall be allocated in the proportion that the unrelated trade or business taxable income derived from trades or businesses acquired after June 30, 1975, bears to the organization's total unrelated business t