How would I write a journal entry and adjusting entry for the purchase of a vehice with the following given information?

Purchase a truck for $15,000 on a 8% note
truck has useful life of 7 years...