Business & farm

So given the answer, how exactly do we deduct the expenses associated with administering over the trust? The 1040 puts a capon deductions only allowing of the AGI, whereas the 1041 has no cap on those deductions?