A sinusoidal curve has a minimum point at (−π3,−5)\left( { - \frac{\pi }{3},\; - 5} \right)(−3π​,−5) and the closest maximum point to the right is (π6,3)\left( {\;\frac{\pi }{6},\;3} \right)(6π​,3). Determine an equation of this curve.