Ten baseballs and four ping-pong balls cost $46. One baseball costs one dollar more than two ping-pong balls. Find the cost of one baseball and the cost of one ping-pong ball.