A person needs to pay Tk. 500 to buy pencils and Tk. X for any additional unit of pencil . If the customer pays a total of Tk. 4,700 for 1200 pencils, what is the value of X ?