Finding Revenue Function and Max Revenue

Studying for a midterm.

The demand function for a manufacture's product is $p=1000-\frac1{80} q$

Where $p$ is the price (in dollars) per unit when $q$ units are demanded (per week) by consumers. Answer the following questions.

1) Write the Revenue function $R(q)$ in terms of $q$.

2) Find the level of production that will maximize revenue.