You will most likely be using the 2nd equation however they do ask the first one but it will be quite obvious since they will provide you with period.
Questions with the 2nd equation are usually followed with a question that elaborate on the fact that the velocity is independent of the mass of...