My database *items* contains their specifications (id, name, length, height, weight, quantity, etc).

I want to 

```
SELECT id, name, length*3 + height*5 as 'newVar' 
FROM items 
ORDER BY newVar DESC

```

However, in order for my formulas to work in the calculation of `newVar`, if 'length' is smaller than 10, I want it to reflected as 10 in the calculation. The same goes for 'height': if it is greater than 10, I need it to be reflected as 10 in the calculation.

How can I achieve this?