Dan bought 35 pieces of candy. He gave 4 pieces to each of his friends. He only has 3 pieces left. Which equation when solved for x,
gives the number of friends?​