A few questions/comments:

1. Are the 1 and 2 subscripts? If so, you can type them like this: [TEX]w_{1}, w_{2},[/TEX] which produces

2. Also, math is case-sensitive. in general. Are they the same variables for you?

3. Without a startingequation, you cannot compute a derivative. That is, unless you know that you cannot compute that Let's say that your utility function is denoted by Are you told that If so, then precisely what derivative are you asked to compute?

Well,i got dw2/dw1 =

from here i am unsure as to why this is equal to

That's arithmetic and exponentiation laws.