There may be an ambiguity in interpreting the equations. Two solutions are provided:
1) If M=5x+(2000000/x), P=2x+(500000/x).
Total cost CT=M+P=7x+2500000/x. This is the cost in dollars of x games (making and packing).
The unit cost C in dollars is (7x+2500000/x)/x=7+2500000/x2 per game, including packing.
2) If M=(5x+2000000)/x and P=(2x+500000)/x, then cost in dollars of x games=(7x+2500000)/x.
The unit cost C=(7x+2500000)/x2=7/x+2500000/x2.
However, if the given info is unit cost then M=5+2000000/x and P=2+500000/x. The combined unit cost would be C=7+2500000/x.