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

Cost of television:
Cost of DVD player: