The issue with your calculations is that when you cut the 45 off at the 30/15 mark, you get a piece that is 20*30 and a piece that is 20*15. Putting the 20*15 piece along the 20*30 piece will give you an L-shape, that is 35*30 with a 10*15 rectangle cut out of the corner.
The best way that I can see to do this is in two cuts. First, make the cut that you describe. Now, you have a 20*30 piece and a 20*15 piece. Cut the 20*15 piece into two 10*15 pieces. Now, put those two pieces together along their 10 edges, giving a 10*30 piece. Now, put the 10*30 next to the 20*30 piece along 30 edges, giving a 30*30 square in two cuts.