Answer:
Figure 1
Explanation:
In this case, we have to ester with a "malonic synthesis" in which we have to add a strong (ethoxide) to produce an enolate ion that would form a new C-C bond with an alkyl halide (ethyl bromide and bromo pentane). Then a "nucleophilic acyl substitution reaction" takes place to add thiourea, in this step two ethanol groups are eliminated to form a cyclic structure. Finally, an "elimination reaction" happen by the addition of sodium hydroxide generating a double bond and a negative charge in the sulfur atom that is neutralized with the positive charge of sodium.
See figure 1 for the total mechanism
I hope it helps!