number of pants sold per week = x given
price of pants =27-(x/300)^2 given
Revenue per week is the number of pants sold * the price
R(x) = x * [ 27-(x/300)^2 ] domain can be anything fro no pants sold ( 0 ) to infinty
Here is a graph......just look at the right hand side.....
https://www.desmos.com/calculator/tfzma6zdto