The total cost of 6 pens and 8 rubber is Rs.38. If a pen costs Rs. 4 more than a rubber, find the price of each item.

p = r+4

6(r+4) + 8r = 38
So, solve for r and then figure p.