Hi Deniz,
It's very difficult to make out the details of your handwriting in your image. Helpers are more likely to take time to help if your work is easy to see. Can you provide a larger, clear image, or better still (and highly encouraged), type in the solution so that helpers can reference and quote it line by line? The edit panel gives access to the necessary special characters via the ##\Sigma## icon, or you can use LaTeX syntax to present equations in a very polished manner.
One thing I will mention is, it's not necessary to convert the source function from sine to cosine if you're looking for power values. The angles will sort themselves out as the voltage and current relative phase will be the same regardless of whether the input is a sine or cosine. It's dictated by the impedance angles.