When prices are (p1, p2) = (1, 2), a consumer demands (x1, x2) = (1, 2). When prices are (2,1), the consumer demands (2,1). Is this behavior consistent with the model of maximizing behavior?

Can someone explain this further?

Thanks!!