Beach with Two Planets