The cost of a pen is x cents and the cost of a ruler is y cents. 2 pens and 3 rulers have a total cost of 57 cents. 5 pens and 1 ruler have a total cost of 58 cents. Find the value of x and the value of y showing the process how you arrived at those answers.