The weekly profit of a company is
P=5x-1000
where x represents the number of items sold. Find the profit for 570 items sold.