Suppose that economic outcomes can be classified as either good or bad. Governments differ in ability and this affects the likelihood of good outcomes. There are two types of governments: high ability or low ability. The prior probability that a government is high ability is 1/2. The probability that the economy is good given that the government is high ability is 3/4 while the probability that the economy is good given that the government is low ability is 1/4.
In this case, the incumbent government can manipulate the economy and the electorate will learn (update) their beliefs about the ability of the incumbent government based on the observed state of the economy.
Suppose that the opposition is a high type with probability 1/2. Voters vote for the government with the highest probability of being of a high type.
What is the probability that the incumbent government will win an election against the opposition if the economy is good?
Let $G$ be the event that government is high ability. We are given $\mathbb{P}(G)=1/2$.
Let $E$ be the event that economy is good. We are given $\mathbb{P}(E|G)=3/4$ and $\mathbb{P}(E|\neg G)=1/4$.
Bayes theorem is
$$ \mathbb{P}(B|A) = \frac{\mathbb{P}(A|B) \mathbb{P}(B)}{ \mathbb{P}(A)} $$
and often the theorem of total probability proves useful on the denominator
$$ \mathbb{P}(A) =\mathbb{P}(A|B)\mathbb{P}(B) + \mathbb{P}(A|\neg B)\mathbb{P}(\neg B) $$
Can you see how to plug in the probabilities given in the question and get the probability of [the electorate believing that] the government is high ability given the economy is good?