Determine whether the following pairs of functions are linearly independent or not.
f(θ)=8cos3θ and g(θ)=32cos3θ−24cosθ