original value of intangible assets =27+12=282 (advertising expenses have nothing to do with patent acquisition, and are included in the period expenses)
accumulated amortization =282/5=564 (amortization begins in the month when intangible assets are acquired)
the company brought in above will have book value.