A television and a DVD player cost a total of 1296. The cost of the television is two times the cost of the DVD player. find the cost of each item.