Study of three-body charmless B decays