How to Achieve Goals Using Reverse Engineering