Number of ways of selecting the first term from the set {1, 2, 3} = 3
Corresponding to each of the selected first terms, the number of ways of selecting the common difference from the set {1, 2, 3, 4, 5} = 5
∴ Total number of AP's that can be formed = 35 = 15