Two-state solution was ‘a good attempt’