An example of the last one:
Person 1: Shigoto ga isogashikute, neru jikan ga nai. (I'm so busy at work, I don't have time to sleep.)
Person 2: Otagai da. (You and me both.)
There's also the phrase otagaisama (same here/in the same boat). It's similar to the example just above.
Man: Kekkon shinakute yokatta (I'm glad we never got married!)
Woman: Otagaisama da wa (You and me both, buddy! or Same here!)
Person 1: Kachou ni okorarete, toubun zangyou da (I got yelled at by the section chief; I'll be doing overtime for the next while)
Person 2: Otagai sama da (Me, too/I'm in the same boat)