This is a straight forward analysis of Bayes Theorem. Now Bayes Theorem reads:
$$P(H|F,I)=\frac{P(H|I)P(F|H,I)}{P(F|I)}$$
So in your example you have two "hypothesis" SUN and RAIN. $F$ stands for the the forecast, and $I$ for the prior information (or assumptions). The "I" has not been included explicitly in your question, but it is always there. These create 2 equations,
$$P(SUN|F,I)=\frac{P(SUN|I)P(F|SUN,I)}{P(F|I)}$$
$$P(RAIN|F,I)=\frac{P(RAIN|I)P(F|RAIN,I)}{P(F|I)}$$
Now you have been given all probabilities except for the $P(F|I)$. You can explicitly calculate this, but a quicker way is to get rid of it by taking the odds of SUN to RAIN.
$$\frac{P(SUN|F,I)}{P(RAIN|F,I)}=\frac{\frac{P(SUN|I)P(F|SUN,I)}{P(F|I)}}{\frac{P(RAIN|I)P(F|RAIN,I)}{P(F|I)}}=\frac{P(SUN|I)P(F|SUN,I)}{P(RAIN|I)P(F|RAIN,I)}$$
And this odds ratio is given by $\frac{0.14}{0.27}$. And then you can use the exhaustiveness of the two hypothesis - because $$P(SUN|I)+P(RAIN|I)=1\rightarrow P(SUN|F,I)+P(RAIN|F,I)=1$$
$$\rightarrow P(RAIN|F,I)=1-P(SUN|F,I)$$
. And you get:
$$\frac{P(SUN|F,I)}{1-P(SUN|F,I)}=\frac{0.14}{0.27}$$
And re-arranging for $P(SUN|F,I)$ gives:
$$P(SUN|F,I)=\frac{\frac{0.14}{0.27}}{1+\frac{0.14}{0.27}}=\frac{0.14}{0.41}=0.34$$