Ensure both sides are in the same unit.
For example, going with cm:
2m = 200cm
200:40 Sub in original
5:1 Simplify (divide both sides by 40)