John bought ten books all at the same price.the total cost of the books was $242.he gave two books to his fried.what was the value of the books that he gave to his friend