a = 2; period = 2π ; displacement = -c/b = -(-π/8)/1 = π/8
This means we need to move y = 2 cos x to the right by π/8.