Can I have 2 45 degree angles in my wall from drain to vent?
If those are the only bends, and they are horizontal, and the total trap arm length is less than 5 feet, then yes. Trap arms can go thru no more than 90 degrees of bends without a clean out. Not including the vertical bends at the trap and at the drain/vent connection.