Write the following statements in the form of equations.

a. The sum of five times p and 8 is 23.

b. If you subtract 6 from 3 times a number, you get 18.

c. One third of a number plus 7 is 26.