a battery operated toy train costs 50 pesos more than seven times the cost of a battery operated toy car. three trains cost 100 pesos less than the cost of 22 toy cars. find the cost of each.