There are 0.5 centimeters in 5 milimeters
Here, we want to calculate the number of centimeters in 5 milimeters
For convenience sake, we write centimeters as cm and millimeters as mm
10 mm = 1 cm
5 mm = x cm
Mathematically;
x * 10 = 5 * 1
10x = 5
x = 5/10
x = 0.5 cm