German Chancellor Angela Merkel says both the EU and the UK need to compromise on Brexit