Cost of one note book =pcost of two note books =2pcost of one pencil =Rs.3Total cost of two note books and one pencil =2p+3