We have,
Cost of pen is twice a note book.
Let the cost of pen=x
Cost of note book=y
Then, according to given question,
Cost of pen=twice a note book
x=2y
x−2y=0