This is a little something you have to memorize, but you could derive it from the equation pb = 2π. In the parent function, the b value is 1, so the period, p, is equal to 2π/1 or just 2π.
The answers is B because you set x+5=0 and x=-5 so that means that the graph needs to be shifted 5 units to the left because 5 is negative and to move 3 units down you just put a -3 at the end of the equation like this y=(x+5)-3