He hasn't gotten to implicit differentiation yet, I would assume given that he's only just not learning dy/dx(e^x) and chain rule. His teacher is almost certainly looking for the standard differentiation method.
Chain rule has to be applied for every single function. In that case, your equation can be broken down into 3 distinct functions that you must differentiate sequentially.
y = f(g(h(x))), f(x) = 2^x, g(x) = sin(x), h(x) = pi*x. To apply chainrule, you work sequentially outside in.
For f(x) = 2^x, you have a form of a^x, whose derivative rule is d(a^x )/dx = a^x * ln(a). In this case, that becomes 2^"x" * ln(2). I single out the x there, because it's important to remember that your "x" there is actually g(h(x)), which is sin(pi*x), so your current form becomes 2^(sin(pi*x)) *ln(2). Then you do chain rule.
For g(x) = sin(x), d/dx = cos(x), no transformation needed. So now you multiply that with your f(x). 2^(sin(pi*x)) * ln(2) * cos("x"). Again, remember that "x" in what you just added is h(x), so pi*x. Your total form is now 2^(sin(pi*x)) * ln(2) * cos(pi*x). Then you do chain rule
again.
For h(x) = pi*x, d/dx = pi. This is a form of d(ax)/dx = a. You should be able to recognize that a constant times x's derivative is always the constant. So then you multiply in that derivative, and you get your final answer, 2^(sin(pi*x)) * ln(2) * cos(pi*x) * pi.
You can check this answer by putting it into your TI-89's derivative function, or on an online calculator such as WolframAlpha, like
this. If you did everything right, what you have should be equivalent to that. In this case, your ln(2) and pi are shuffled around which is fine thanks to commutative property of multiplication.
EDIT: Interesting. I learned a new bbcodes shorthand today.