For Reaction 1, ring opening takes place in the indicated direction because tetraalkylammonium group can stabilize positive charge.
For Reaction 2, ring opening takes place in the indicated direction because the ethoxy group is a weaker electron donating group compared to the tetraalkylammonium group.