On the structure of finite memory and separable 2D systems