A variable star is one whose brightness alternately increases and decreases

A variable star is one whose brightness alternately increases and decreases. For the most visible variable star, Delta Cephei, the time between periods of maximum brightness is 5.4 days, the average brightness (or magnitude) of the star is 4.0, and its brightness varies by ±0.35 magnitude. Find a function that models the brightness of Delta Cephei as a function of time.