A car windshield gets progressively weaker as it suffers from repeated debris strikes. Let $A_i$ be the event that the windshield survives the $i$th strike. For $0 < \theta < 1,$ let $P(A_1)=\theta$ and $P(A_k| \cap_{i=1}^{k-1}A_i)=\theta^k,$ where $k=2,3,\dots$. Define $X$ to be the number of debris strikes needed to break the windshield. Find the probability distribution of $X$.
I tried to obtain the probability distribution by going through the first few examples.
My work: $P(X=1)=(1-\theta), P(X=2)=\theta(1-\theta), P(X=3)=\theta^2(1-\theta),\dots$ So, $P(X=x)=\theta^x(1-\theta)$. However, I do not know if this work is correct, since the probability of the $i$th debris strike breaking the windshield may not necessarily be $(1-\theta)$.
Alternative work:
$P(A_1 \cap A_2 \cap \dots \cap A_{x-1} \cap A_x^c) = P(A_x^c | \cap_{i=1}^{x-1}A_i)P(\cap_{i=1}^{x-1}A_i)$
$=[1-P(A_x | \cap_{i=1}^{x-1}A_i)]P(A_{x-1}| \cap_{i=1}^{x-2}A_i)\dots P(A_2| A_1)P(A_1)$
$=(1-\theta^x)\theta^{x-1}\theta^{x-2}\dots \theta^2\theta =(1 - \theta^x)\theta^{(x-1)x/2}.$
So, $P(X=x)=p(x)=(1-\theta^x)\theta^{(x-1)x/2}$.
These two different approaches seem to yield different answers. Where am I messing up?