Bow tie pasta au gratin with tomato and red onions