Python Simple Solution
Code\n\nclass Solution:\n    def canBeEqual(self, s1: str, s2: str) -> bool:\n        if s1==s2:\n            return True\n        s=s2[0]+s2[3]+s2[2]+s2[1]\n  
# Code\n```\nclass Solution:\n    def canBeEqual(self, s1: str, s2: str) -> bool:\n        if s1==s2:\n            return True\n        s=s2[0]+s2[3]+s2[2]+s2[1]\n        ss=s2[2]+s2[1]+s2[0]+s2[3]\n        sss=s2[2]+s2[3]+s2[0]+s2[1]\n        if sss==s1 or ss==s1 or s==s1:\n            return True\n        return False\n```
['Python3']