Rewrite the following paragraph to sound more formal
I once hid in a bathroom closet and pleasured myself when my family members went to the bathroom... 3.
I once hid in a bathroom closet and masturbated while spying on family members who were using the bathroom.