Let f(x) = sin2x + sin2(x + π/3) + cosx.cos(x + π/3) and g(x) = {(2x : 0 ≤ x < 1), (x + 1/4 : 1 ≤ x < 2) then find g(f(x))
Given f(x) = sin2x + sin2(x + π/3)