You purchase an automobile from Hamlin Auto for $30,000 on J…

You purchase an automobile from Hamlin Auto for $30,000 on January 2, 2020. Hamlin estimates the assurance-type warranty costs on the automobile to be $700 (Hamlin will pay for repairs for the first 36,000 miles or three years, whichever comes first). You also purchase for $900 a service-type warranty for an additional three years or 36,000 miles. Hamlin incurs warranty costs related to the assurance-type warranty of $500 in 2020, and $100 in each of 2021 and 2022. Hamlin records revenue on the service-type warranty on a straight-line basis. What journal entry(ies) should Hamlin make to record the sale and the automobile and the related warranties on January 2, 2020?