How to do rectangle collision

welcome to shbcf.ru