Map Trouble

I am stuck in mapping

map(x, 0, 2, 0, 6); the issue is it will not divide the value of x into the value of the output can anybody help, please