The European elections have formed a new EU Parliament that will rule for the next five years.