Emily wants to create a new dessert that has a wavy pattern on the frosting. She decides to use the function (x)=2(co(x-5/6)+2) to create the pattern. Help Emily to determine the amplitude, period, and midline of the function to ensure that the pattern looks the way she intends it to.