Write an expression to represent:
Cardinal(-B) less than twicecardinal(M) times a number x.
RE
TwiceCardinal(M) times a number x can be written as Mx.
Cardinal(-B) less than something means that we subtract -B from it.
If we subtract -B from expr(["*", M, "x"]), we have expr(["+", ["*", M, "x"], B]).
Cardinal(B) more than twicecardinal(M) times a number x.
TwiceCardinal(M) times a number x can be written as Mx.
Cardinal(B) more than something means that we add B to it.
If we add B to expr(["*", M, "x"]), we have expr(["+", B, ["*", M, "x"]]).
Cardinal(B) minus twicecardinal(-M) times a number x.
TwiceCardinal(-M) times a number x can be written as -Mx.
Cardinal(B) minus something means that we subtract it from B.
If we subtract expr(["*", -M, "x"]) from B, we have expr(["+", B, ["*", M, "x"]]).
The product of cardinal(M) and a number x.
"Product" means that we multiply M and x.
If we multiply M and x, we have expr(["*", M, "x"]).
The sum of cardinal(B) and twicecardinal(M) times a number x.
TwiceCardinal(M) times a number x can be written as Mx.
"Sum" means that we add B and expr(["*", M, "x"]).
If we add B and expr(["*", M, "x"]), we have expr(["+", B, ["*", M, "x"]]).