The numbers do not come out even because there is an additional constraint of number of condos of either type must be a whole number.
Var Description Profit
x Standard Condo 6000
3x Luxury Condo 7000
Equation:
6000 * x + 7000 * 3x = 2500000
6000x + 21000x = 2500000
27000x = 2500000
2500 / 27 = x
Standard Condo = 92.59259
Luxury Condo = 277.7778
Two possible Solutions:
92 Standard + 279 Luxury = 2505000 profit
93 Standard + 278 Luxury = 2504000 profit