(b) Following (a), express the profit functions as functions of \( x{O}, x{G} \).