The budget constraint is written in real terms with all prices expressed relative to final output (P). Investment is a composite of domestic and foreign goods. The consumption and housing investment decision are determined by the following first-order conditions (FOCs)