solve 50(2a_1+99d)=10, 5(2a_1+9d)=100