Wow this is really hard to read. After staring for some time, I see you're trying to manipulate

$\displaystyle \displaystyle \prod_{i=1}^nka_i$

And you got

$\displaystyle \displaystyle k\prod_{i=1}^na_i$

which if you think about it will only be right if n=1; in general it's

$\displaystyle \displaystyle \prod_{i=1}^nka_i=k^n\prod_{i=1}^na_i$

Then you have another problem

$\displaystyle \displaystyle \prod_{i=1}^nia_i$

Question: have you learned factorials?

Lastly you have a question

$\displaystyle \displaystyle \prod_{i=1}^n(a_i)^k$

I don't know how to give a hint, just expand it and you will see that

$\displaystyle \displaystyle \prod_{i=1}^n(a_i)^k=\left(\prod_{i=1}^na_i\right) ^k$

You can visit the

LaTeX Help subforum to learn about typesetting, and if you double click any rendered LaTeX on the site, it will display the code used to produce it.