Tim answered all the questions on the math test but got 10 wrong answers. He got 4 points for each correct answer, there were no penalty points for incorrect answers. His score was 76 points.
Write an equation to find the total number of questions (q) on Tim's math test.