I'll read the other replys in a minute so forgive me if I'm repeating things.
I'm assuming when I answer this that you planned these dives on the PADI RDP.
First dive was at a max depth of 40 feet, average was about 30 ft. Down for 60 minutes and did not do a safety stop.
Technically you didn't need to do a safety stop becuase you weren't within 3 groups of the NDL but for obvious reasons you should get in the habit of doing a safety stop whenever it's practical.
Second dive was after a 1 hour SI. The bottom was at 60 feet which was issue one, I was taught not to dive deeper than your previous dive?
Correct.
About reverse profiles: a couple of years ago there was some research done on reverse profiles and the conclusion was that the additional risk of DCS was negligable assuming the second dive wasn't more than (IIRC) 10-12 metres deeper than the first.
That said, it's a good diving habit to avoid reverse profiles. If you want to account for the additional risk factor in planning your dives then you can do what the OW books suggests you do with a dive in cold water... namely, plan your dive (determine your NDL) as if it were 4 metres deeper than you are actually going. You can apply this kind of "fudge factor" whenever you want to plan for extra conservatism using the tables.
Additionally, you could also extend your safety stop at the end of such a dive to more than 3 minutes. Maybe double it for additional off gassing before you surface.
The DM then asked me to check the anchor so I drop down to 50 feet and its not hooked in so I surface, tell him and then drop down to 15 feet and do a 3 minute safety stop. Now Im trying to figure out what to do since the 60 foot bounce dive confused my plans.
Bounce dives are another potential DCS risk factor. Avoid them and if you must make a bounce dive then make double sure that your ascent speed is well within limits. If you must make a bounce, then obviously doing it at the beginning of a dive, when there is less nitrogen in your system, is better than doing it at the end of the dive.
In the case you mentioned I'll tell you what I would have done, but that's not to say that this is what *you* should do.
I would have looked at the 50ft bounce as a big zig-zag in my profile and then gone and done the 60ft dive but added all of the bottom time from the bounce dive to the bottom time for the 60ft planned dive. Additionally, I would have backed off the NDL by 5 minutes or so (fudge for conservatism) and extended my safety stop from 3 to 6 minutes (another fudge for xonservatism).
Note: while I would personally feel comfortable doing this, there is no guarantees. You were adding a couple of potential DCS risk factors to your profiles (skipping safey-stop #1, bounce to 50ft and a reverse profile) so you were really doing things that the tables weren't tested to account for.
R..