A baker uses two types of flour for cakes. A small cake requires cups of flour, and a large cake requires cups of flour. If the baker uses a total of cups of flour, which equation represents the total amount of flour used, where is the number of small cakes and is the number of large cakes?