Tip: when you learn a new verb, always learn its preposition at the same time — write them together as one chunk (depend on, not just depend) so you never have to guess later.
WH- Question Chunks (Stranded Preposition)
In everyday spoken English, the preposition moves to the end of the question instead of before the Wh-word.
Question
Prep
Meaning
Where are you from?
from
¿De dónde…?
Who are you going with?
with
¿Con quién…?
What are you talking about?
about
¿De/sobre qué…?
Who did you speak to?
to
¿A/con quién…?
What is this button for?
for
¿Para qué…?
Who is this present for?
for
¿Para quién…?
What city do you live in?
in
¿En qué…?
What are you looking at?
at
¿A qué/en qué…?
Who are you laughing at?
at
¿De quién te ríes…?
What are you working on?
on
¿En qué…?
Where are you going to?
to
¿A dónde…?
Who are you thinking about?
about
¿Sobre quién…?
What do you think of this?
of
¿Qué opinas de…?
What did you open it with?
with
¿Con qué…?
Who did you get this from?
from
¿De quién…?
Where are you staying at?
at
¿En dónde…?
Tip: ending a question with a preposition (Who are you talking to?) is completely natural and standard in everyday English — it is not incorrect, despite what some traditional grammar rules say.