I'm not exceptional at math, but the first equation is how much you can expect to gain/lose per bet (on average) in terms of units (or dollar amount). Hence: "E(Unit Profit)"

The second equation...