A slightly magic proof.
Lemma: If $a,b$ are relatively prime positive integers, then for any integer $n$ there is solution to $ax+by=n$ with $x,y$ integers and $0\leq x\leq b-1.$ (So, possibly with $y<0$.)
Proof: We know we can find integers $x_0,y_0$ so that $ax_0+by_0=n.$
By the division algorithm, we can find integers $q,r$ so that $x_0=bq+r$ with $0\leq r\leq b-1.$ Then:
$$ar + b(y_0+aq)=a(r+bq)+by=ax_0+by_0=n$$
So there is a solution $(x,y)=(r,y_0+aq)$ with $0\leq r=x\leq b-1.$
Theorem: If $a,b$ are relatively prime positive integers, then for each integer $n$, there is a non-negative integer solution to at least on of the equations $ax+by=n$ or to $ax+by=ab-a-b-n.$
(There is a stronger statement, which is that for each $n$, exactly one of those two equations has a solution.)
In your case, this would mean for each $n$, one of $3x+5y=n$ and $3x+5y=7-n$ has a non-negative solution.
Proof: Solve $ax_0+by_0=n$ with integers $x_0,y_0$ and $0\leq x_0\leq b-1.$
If $y_0\geq 0$ we are done.
If $y_0<0$ then:
$$ab-a-b-n = a(b-1)-a-b-(ax_0+by_0)=a(b-1-x_0)+b(-1-y_0)$$
Since $0\leq b-1-x_0$ and $0\leq -1-y_0$ we either have non-negative solutions ot $ax+by=n$ or to $ax+b=ab-a-b-n.$
Now, if $N>ab-a-b$, or $N\geq (a-1)(b-1)$, then there there can't be non-negative solutions to $ax+by=ab-a-b-N<0,$ so there must be a solution to $ax+by=N.$
The stronger version of the theorem is that, for any integer $n,$ exactly one of the equations $$\begin{align}ax+by&=n\\ax+by&=ab-a-b-n\end{align}$$
has a non-negative solution.
You can show this by showing that $ax+by=ab-a-b$ has no non-negative integer solution $(x,y)$. This is because if both the equations have non-negative solutions, you could add them to get a non-negative solution for $ax+by=ab-a-b.$
If $ax+by=ab-a-b$ then $a(x+1)+b(y+1)=ab.$ So $b\mid a(x+1)$ and $a\mid b(y+1).$ But since $a,b$ are relatively prime, we get that $b\mid x+1$ and $a\mid y+1.$
But if $x,y\geq 0,$ $x\geq b-1$ and $y\geq a-1$, and thus $ax+by\geq 2ab-a-b>ab-a-b,$ reaching a contradiction.
This lets us count the number of non-negative integers $n$ for which there is no solution:
$$\frac{(a-1)(b-1)}{2}$$
A generating function approach is to ask which coefficients of:
$$f(x)=\frac{1}{1-x^a}\frac{1}{1-x^b}$$
are $0$. We can write:
$$f(x)=\frac{\left(1+x^a+\cdots+x^{a(b-1)}\right)\left(1+x^b+\cdots+x^{b(a-1)}\right)}{\left(1-x^{ab}\right)^2}$$
The denominator contributes only additional multiples of $ab$ to the exponents, and since we know that all sufficiently large values have a solution, this means that the exponents in the numerator must cover all the values modulo $ab$, which means that they must all have coefficient $1$. If $S$ is the set of positive values $n$ for which no $ax+by=n$, we can write the numerator as:
$$\sum_{k=0}^{ab-1} x^k -\left(1-x^{ab}\right)\sum_{k\in S} x^k$$
So, one way to enumerate the numbers in $S$ is:
$$S=\{ax+by-ab\mid 1\leq x\leq b-1, 1\leq y\leq a-1, ax+by\geq ab\}$$
We can see exactly half the pairs $x,y$ have $ax+by>ab$ beacuse if $ax+by>ab$ then $a(b-x)+b(a-y)=2ab-(ax+by)<ab$. (Not that there is no $x,y$ with $ax+by=ab$ since $x\leq b-1,y\leq a-1$.) So again we get that there must be $\frac{(a-1)(b-1)}{2}$ elements of $S$.
We can count $S$ another way and get the result: $$\sum_{x=1}^{b-1}\left\lfloor \frac{ax}{b}\right\rfloor=\frac{(a-1)(b-1)}{2}.$$
Now, our generating function is:
$$f(x)=\frac{\frac{x^{ab}-1}{x-1}+\left(x^{ab}-1\right)\sum_{k\in S} x^k}{(1-x^{ab})^2}=\frac{1}{(x-1)(x^{ab}-1)}-\frac{\sum_{k\in S} x^k}{1-x^{ab}}$$
The coefficient of $x^n$ in the left part is $1+\left\lfloor \frac{n}{ab}\right\rfloor$ the coefficient of $x^n$ in the right term is $1$ if $n$ is congruent to some $s\in S$ modulo $ab$. So the number of non-negative solutions to $ax+by=n$ is:
$$\left\lfloor \frac{n}{ab}\right\rfloor+\begin{cases}0&n\equiv s\pmod{ab} \text{ for some } s\in S\\
1&\text{otherwise}\end{cases}$$
The case when $b=2a-1$ gives us an easy way to list $S$:
$$S=\{i+aj\mid 1\leq i\leq a-1, 0\leq j\leq 2(a-i-1)\}$$
This gives, for $a=3,b=5$ that $S=\{1,4,7,2\}.$
For $a=5,b=9$ this gives $S=\{1,6,11,16,21,26,31,2,7,12,17,22,3,8,13,4\}.$
More generally, if $a<b$, we can list, for each $i\in\{1,\dots,a-1\}$ the values $i+aj$ until we get one divisible by $b$.
For example, $a=3,b=10$ gives:
$$\{1,1+3,1+6,2,2+3,2+6,2+9,2+12,2+15\}$$
If $a<b$ and $ax\equiv -1\pmod {b}$ for $1\leq x\leq b-1$, then you get:
$$S=\{i+bj\mid 1\leq i\leq a-1, 0\leq j<(ix\bmod b)\}$$
If $b=ax+1$ then $0\leq j< xi$. For example, when $a=4,b=13,x=3,$ you get:
$$S=\{1,1+4,1+4\cdot 2,\\
2,2+4,\dots,2+4\cdot 5,\\
3,3+4,\dots,3+4\cdot 8\}$$
If $b=ay-1$ for $y>1,$ then $x = b-y$ and for $i$ you get $0\leq j< b-iy.$
This formula also lets you count $S$ again, since the number of elements for $i$ is $ix\bmod b$ and the number of elements for $a-i$ is $(a-i)x\bmod b$, and $xi+(a-i)x=ax\equiv -1\pmod b$. Since $(xi\bmod b)+((a-i)x\bmod b)\leq 2b-2$, we must have the total for these $i,a-i$ to be $b-1$, so the average over all $i$ must be $\frac{b-1}{2}$, and we get, again, that $|S|=(a-1)\frac{(b-1)}{2}.$