The maximum value of sin(x+π6)+cos(x+π6) in the
interval (0,π2) is attained at
√2cos(x+π6−π4) = √2cos(x−π12).
Hence maximum value will be at x = π12.