Help With String Flip Halves Problem

Write a method name flipHalves that returns a passed String rearranged as follows

image

output -
Your submission had errors:
Design error:
Your submission is missing a method. Check your method signatures.