How to make the same htaccess code work

Hello
Want to two to work
Only one is working
Multiple rewriter rule

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-zA-Z0-9-]+)$ /topics.php?url=$1 [L]

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-zA-Z0-9-]+)$ /topicsq.php?url=$1 [L]

Is this supposed to be in the same file? The [L] is stopping you right there.

Also, having the same content accessible on more than one non-temporary url is bad form (bad SEO).

Ok pls can you rewriter it for me