It is to be hoped that you are learning from a well written textbook. Avoid the Common Core-influenced material that has recently inundated the high schools.
You have been given the formula E = mc2 (from Einstein) which tells us the Energy equivalent of mass m, multiplied by the square of the speed of light (c).
The formula is not being used correctly (in the physical real world sense). Anyway, if you want to SUBSTITUTE the values m = 3, c=6, then the result which you calculate is E = (3)(62) = three times 36 = 108.
Note: do not use E and e or M and m or C and c interchangeably when using formulas. E and e may well be different quantities. Normally, the instructions that would be given would ask you to "find" or "evaluate" E, when you are given values of all the quantities (m and c) on the right side of this formula for E. (The word solve is reserved for something else.)