Nevermind I found a solution from a post I made years ago and forgot about.
In case someone else stumbles on this and wants to know here's the solution:
Give Object_1 the Sine behavior.
When you create the Object_2, set the coordinates to:
That's it. If you want to change the distance just change the number after Sine.Value
Hope this helps someone!