A couch and coffee table cost a total of $1044. The cost of the couch is three times the cost of the coffee table. find the cost of each item.