Let x = number of $1 increases in price
Profit = Revenue - Cost
Revenue if price per painting is increased $x
= (price per painting)(number sold)
= (20 + x)(30 - x)
Cost = (cost per painting)(number sold)
= 10(30 - x)
Profit = P(x) = (20+x)(30-x) - 10(30-x)
= -x2 + 10x + 600 - 300 + 10x
= -x2 + 20x + 300
The graph of the profit function is an inverted parabola with maximum when x = -20/((2)(-1)) = 10.
So, the price per painting should be increased by $10 in order to maximize profit.