“Rack your brains” = think very hard
“We racked our brains all weekend trying to come up with a solution to our problem.”
“horse around” = play around in a silly, improper, or lazy manner
“Sometimes, my kids just horse around and don’t get their chores done.”