A computer and printer cost a total of $939. The cost of the computer is two times the cost of a printer. Find the cost of each item?