It sounds like you’re looking for a of the solutions (either the official solutions manual or a student solution guide) for the textbook:

(often the 3rd, 4th, or 5th edition, published by Pearson).