It costs x dollars each to make the first thousand copies of a compact disk and y dollars to make each subsequent copy. If z is greater than 1000, how many dollars will it cost to make z copies of the compact disk?