I need to set up a demand curve for perfectly competitive firms Q=1500-50P with a marginal cost curve of q=P+10 and ATC curve 10 for 20 units…

I need to set up a demand curve for perfectly competitive firms Q=1500-50P with a marginal cost curve of q=P+10 and ATC curve 10 for 20 units produced. I think TR=75000 (1500*50) is that the right start