A consumer strikes his equilibrium when: MUXPX=MUM in case of two commodities.
When consumer consumes two commodities, then equilibrium is achieved when consumer equates the ratio of marginal utility derived from one commodity in comparison to it's price with the ratio of the marginal utility of another commodity in comparison to it's price.