this doesn't seem logical to me. There's no accounting for the 1 item box and the 2-3 items box. Should it not be something like:
abs([Quantity] == 3)?[ItemHeight]=8:[ItemWidth]=14
abs([Quantity] == 2)?[ItemHeight]=8:[ItemWidth]=14
abs([Quantity] == 1)?[ItemHeight]=8:[ItemWidth]=5