solve with substitution

Copy and paste does not work. No problem given.