Part 1:
We will show that any rational number $k$ can be rewritten as a fraction $\frac{c}{A}$ where $A$ is the integer composed of $a$ digit 9s followed by $b$ digit 0s, where $a\geq1$ is an integer and $b\geq0$ is an integer, and where $c$ is an integer.
Expressed in decimal notation, all rational numbers either have a finite number of digits (terminating decimals) or they have an infinitely repeating tail (repeating decimals).
If $k$ is a terminating decimal, $k=\frac{x}{10^y}$ for some integer $x$ and some integer $y\geq0$. We can multiply the top and bottom of the fraction by 9 to get $k=\frac{9x}{9\cdot10^y}$. If we pick $a=1,b=y,c=9x$, then $k=\frac{c}{A}$.
If $k$ is a repeating decimal, it equals the sum of a terminating decimal and a repeating tail. For example: $13.47\overline{12}=13.35+0.12\overline{12}=13.35+0.\overline{12}$. (Here repeating tails mean rational numbers that have 0 to the left of the decimal and a repeating pattern starting immediately to the right, such as $0.\overline{12}$ or $0.\overline{00894}$).
Repeating tails that repeat every $z$ digits can be expressed as a fraction where the denominator is composed of $z$ digit 9s:
$0.\overline1=1/9$; $0.\overline{12}=12/99$; $0.\overline{00543}=00543/99999$.
Since a repeating decimal is a sum of a terminating decimal (expressible as $\frac{x}{10^y}$) and a repeating tail (expressible as a fraction where the denominator is $z$ digit 9s) then that sum must be expressible as a fraction with an integer numerator, and an integer denominator that equals $10^y$ times [$z$ digit 9s]. If we pick $a=z,b=y,c=$ the numerator, then $k=\frac{c}{A}$.
Part 2:
We will show that for any integer $n$ that is not a multiple of $2$ or $5$, there is a multiple of $n$ composed of only the digit 1.
Since $n$ is not a multiple of $2$ or $5$, then $n\neq0$, so $\frac{1}{n}$ is a rational number. As shown in Part 1, $\frac{1}{n}=\frac{c}{A}$ where $A$ is the integer composed of $a$ digit 9s followed by $b$ digit 0s, where $a\geq1$ is an integer and $b\geq0$ is an integer, and where $c$ is an integer. We can rearrange to get $cn=A$.
Let $B_1$ be the integer composed of $a$ digit 1s, so $9\cdot B_1\cdot10^b=A=cn$.
Let $B_9$ be the integer composed of $9a$ digit 1s.
Let $q=\frac{B_9}{B_1}$, so $q$ is the integer composed of $9$ digit 1s that are separated with $a-1$ digit 0s between each. This number is a multiple of $9$ since its digits sum to $9$, so $q=9s$ for some integer $s$, so $B_1\cdot9s=B_9$.
$cn=9\cdot B_1\cdot10^b$.
Both sides need to have the same prime factorization, and $n$ doesn't contain any of the factors of $10^b$, so $c$ must contain all of them. This means $c=10^bd$ for some integer $d$.
Cancelling, we get $dn=9\cdot B_1$. Multiplying both sides by $s$, we get $sdn=9s\cdot B_1=B_9$.
$sd\cdot n=B_9$, where $sd$ is an integer, so $B_9$ is a multiple of $n$, and $B_9$ is composed of only the digit 1.
Therefore, for any integer $n$ that is not a multiple of $2$ or $5$, we can find a multiple of $n$ composed of only the digit 1.