Note: It should be s instead of x in profit of factory B.
Given:
Consider the profits of two different clothing factories can be modeled as shown, where s is the number of shirts produced at each factory. 
Factory A : 

Factory B : 

To find:
The polynomial that represents the difference in the profits at the two plants.
Solution:
Let,
Factory A : 

Factory B : 

Difference in the profits at the two plants is





Therefore, the required expression is 
.