If the variable num is 2, the function
document.write("The number is " + (num * 5) + ".");
does this.