After eating at the restaurant, Sam, Jason, and Joan decided to divide the bill evenly. If each person paid x dollars, what was the total of the bill ?