Solve the given system by the substitution method. If there is no solution or an infinite number of​ solutions, so state. Use set notation to express solution sets.
x+3y=14
4x+5y=35