This is a stab in the dark. Connect the powered black to both switches. Connect all the whites together. Connect a black to the other side of either switch. Restore power. Operate switch. If it turns light in, leave it. Connect another black to a switch. If it operates a light, leave it. The black that does not turn on a light gets connected to the power black.