Answer:
Step-by-step explanation:
The journal entry is shown below: 
On January 1, 2017: 
Unearned compensation A/c Dr $120,000 
 To Common stock (4,000 × $3) $20,000 
 To Paid-in capital in excess of par value $100,000 
(Being restricted stock is issued and the remaining balance is credited to the paid-in capital) 
On December 31, 2018: 
Compensation expenses A/c Dr $30,000 
 To Unearned compensation $30,000 
(Being compensation expenses are recorded) 
The compensation expenses is computed below: 
= (Fair value of stock) ÷ (number of years) 
= ($120,000) ÷ (4 years) 
= $30,000