okk ... see my profit is 3w + 4g ... and my condition is (3w)^2 + (2g)^2 - 18000 apply langrange we get w and g in terms of the constant $\lambda$ = x w = 3/(18x) and g = 4/(8x) .. place these two values in the consition to get x = 1/(120) hence w = 20 and g = 60 and hence my profit is = 60 + 240 = 300