At time zero, light both ends of fuse A and one end of fuse B. The fuses must not touch each other. It takes thirty minutes for fuse A's two flames to meet. When they do, there is exactly thirty minutes left on fuse B. Instantly light the other end of (still-burning) fuse B. The two flames will now meet in fifteen minutes, for an elapsed time of forty-five minutes.