Hopson company incurred $900,000 of research and development costs in its laboratory to develop a new product. it spent $120,000 in legal fees for a patent granted on january 2, 2017. on july 31, 2017, hopson paid $90,000 for legal fees in a successful defense of the patent. what is the total amount that should be debited to patents through july 31, 2017?