Hi, im student and i want to get some help for my project

the problem like this

temp<29C until temp <35C; the bulb ON
if temperature>35C until temperature >29C ; the bulb will OFF

anyone hv some idea to solve this?