Search the entire file system (starting from the root directory) for files with the extension ".txt" in the first two levels of subdirectories and execute the command "grep" with the argument "test" on each of the found files.
find / -maxdepth 2 -type f -name "*.txt" -exec grep "test" {} \;