Sarah and her 4 friends share some cookies. If each person gets 3 cookies, how many cookies were shared? Write a mathematical equation that represents this situation.​