1.

, which implies that the sides could be

and

. (There are theoretically an infinite number of side-lengths, though--in general, for any polynomial or reciprocal of a polynomial

,

and

is valid. However, the set provided makes the most sense.)
2. Profit is the difference between cost and revenue. For revenue,

, so revenue equals

, so profit equals
